[Erp5-report] r28373 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Aug 13 23:28:57 CEST 2009


Author: kazuhiko
Date: Thu Aug 13 23:28:57 2009
New Revision: 28373

URL: http://svn.erp5.org?rev=28373&view=rev
Log:
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.

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_doFavorite.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_doFavorite.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_doFavorite.xml?rev=28373&r1=28372&r2=28373&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_doFavorite.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/Base_doFavorite.xml [utf8] Thu Aug 13 23:28:57 2009
@@ -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>

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision?rev=28373&r1=28372&r2=28373&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision [utf8] Thu Aug 13 23:28:57 2009
@@ -1,1 +1,1 @@
-804
+805




More information about the Erp5-report mailing list