Author: doll
Date: Wed Aug  6 11:30:59 2008
New Revision: 683360

URL: http://svn.apache.org/viewvc?rev=683360&view=rev
Log:
SHINDIG-495
Patch from Jacky Wang. The security token in the samplecontainer is now encoded 
before it is put on the url for batch requests.


Modified:
    incubator/shindig/trunk/features/opensocial-current/restfulcontainer.js

Modified: 
incubator/shindig/trunk/features/opensocial-current/restfulcontainer.js
URL: 
http://svn.apache.org/viewvc/incubator/shindig/trunk/features/opensocial-current/restfulcontainer.js?rev=683360&r1=683359&r2=683360&view=diff
==============================================================================
--- incubator/shindig/trunk/features/opensocial-current/restfulcontainer.js 
(original)
+++ incubator/shindig/trunk/features/opensocial-current/restfulcontainer.js Wed 
Aug  6 11:30:59 2008
@@ -133,7 +133,7 @@
   };
 
   gadgets.io.makeNonProxiedRequest(
-    this.baseUrl_ + "/jsonBatch?st=" + escape(shindig.auth.getSecurityToken()),
+    this.baseUrl_ + "/jsonBatch?st=" + 
encodeURIComponent(shindig.auth.getSecurityToken()),
     sendResponse, makeRequestParams, "application/json");
 };
 


Reply via email to