Commit bd683610 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

encode whitespaces with '+', otherwise some user agents ignores everything...

encode whitespaces with '+', otherwise some user agents ignores everything after the first whitespace.
we need more encode for non-ASCII characers, that should be implemented in ERP5Site_redirect later.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28373 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f917689e
......@@ -57,6 +57,8 @@
select_favorite = context.REQUEST.form["Base_doFavorite"]\n
if select_favorite == \'\':\n
return\n
# XXX more encode should be implemented in ERP5Site_redirect.\n
select_favorite = select_favorite.replace(\' \', \'+\')\n
return context.ERP5Site_redirect(select_favorite, **kw)\n
</string> </value>
</item>
......
804
\ No newline at end of file
805
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment