Author: remi
Date: 2009-07-08 13:29:23 +0200 (Wed, 08 Jul 2009)
New Revision: 5085

Modified:
   
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/devel/js/common.js
   
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/js/common.js
   
software_suite_v3/smart-core/smart-server/trunk/resources/07_web_interfaces/00_resourceWIDevel.py
   
software_suite_v3/smart-core/smart-server/trunk/resources/07_web_interfaces/01_resourceWIUser01.py
Log:
* "+" symbol is irrelevant in the http requests. Added an encoding for this 
symbol.

Modified: 
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/devel/js/common.js
===================================================================
--- 
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/devel/js/common.js
       2009-07-08 11:27:33 UTC (rev 5084)
+++ 
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/devel/js/common.js
       2009-07-08 11:29:23 UTC (rev 5085)
@@ -34,6 +34,7 @@
     value = value.replace(/\|/g, '[PIPE]');
     value = value.replace(/\=/g, '[EQUAL]');
     value = value.replace(/\&/g, '[AMP]');
+    value = value.replace(/\+/g, '[PLUS]');
     return value;
 }
 

Modified: 
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/js/common.js
===================================================================
--- 
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/js/common.js
     2009-07-08 11:27:33 UTC (rev 5084)
+++ 
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/js/common.js
     2009-07-08 11:29:23 UTC (rev 5085)
@@ -34,6 +34,7 @@
     value = value.replace(/\|/g, '[PIPE]');
     value = value.replace(/\=/g, '[EQUAL]');
     value = value.replace(/\&/g, '[AMP]');
+    value = value.replace(/\+/g, '[PLUS]');
     return value;
 }
 

Modified: 
software_suite_v3/smart-core/smart-server/trunk/resources/07_web_interfaces/00_resourceWIDevel.py
===================================================================
--- 
software_suite_v3/smart-core/smart-server/trunk/resources/07_web_interfaces/00_resourceWIDevel.py
   2009-07-08 11:27:33 UTC (rev 5084)
+++ 
software_suite_v3/smart-core/smart-server/trunk/resources/07_web_interfaces/00_resourceWIDevel.py
   2009-07-08 11:29:23 UTC (rev 5085)
@@ -201,6 +201,7 @@
                 value = value.replace('[EQUAL]', '=')
                 value = value.replace('[PIPE]', '|')
                 value = value.replace('[AMP]', '&')
+                value = value.replace('[PLUS]', '+')
                 params.append([name, value])
         tmpGadgetUrl, nUuid = GadgetGenerator.generateGadget(oUuid, params,
             resourcePluginsServer.getPluginsContainer().getPluginByUuid(uuid),
@@ -247,6 +248,7 @@
                 value = value.replace('[EQUAL]', '=')
                 value = value.replace('[PIPE]', '|')
                 value = value.replace('[AMP]', '&')
+                value = value.replace('[PLUS]', '+')
                 params.append([name, value])
         tmpUgcUrl, nUuid = GadgetGenerator.updateUgc(
             resourceUgcServer.getUgcContainer().getUgcByUuid(uuid), params,
@@ -293,6 +295,7 @@
                 value = value.replace('[EQUAL]', '=')
                 value = value.replace('[PIPE]', '|')
                 value = value.replace('[AMP]', '&')
+                value = value.replace('[PLUS]', '+')
                 params.append([name, value])
         resourceWIDevel.gadgetPreviewData = 
GadgetGenerator.generatePreviewGadget(params,
             resourcePluginsServer.getPluginsContainer().getPluginByUuid(uuid),

Modified: 
software_suite_v3/smart-core/smart-server/trunk/resources/07_web_interfaces/01_resourceWIUser01.py
===================================================================
--- 
software_suite_v3/smart-core/smart-server/trunk/resources/07_web_interfaces/01_resourceWIUser01.py
  2009-07-08 11:27:33 UTC (rev 5084)
+++ 
software_suite_v3/smart-core/smart-server/trunk/resources/07_web_interfaces/01_resourceWIUser01.py
  2009-07-08 11:29:23 UTC (rev 5085)
@@ -446,6 +446,7 @@
                 value = value.replace('[EQUAL]', '=')
                 value = value.replace('[PIPE]', '|')
                 value = value.replace('[AMP]', '&')
+                value = value.replace('[PLUS]', '+')
                 params.append([name, value])
         tmpUgcUrl, nUuid = GadgetGenerator.updateUgc(
             resourceUgcServer.getUgcContainer().getUgcByUuid(uuid), params,


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to