You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by zh...@apache.org on 2008/03/07 01:06:47 UTC

svn commit: r634471 - /incubator/shindig/trunk/features/rpc/rpc.js

Author: zhen
Date: Thu Mar  6 16:06:44 2008
New Revision: 634471

URL: http://svn.apache.org/viewvc?rev=634471&view=rev
Log:
Fixed an escaping bug in rpc.js introduced in revision 629266.


Modified:
    incubator/shindig/trunk/features/rpc/rpc.js

Modified: incubator/shindig/trunk/features/rpc/rpc.js
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/features/rpc/rpc.js?rev=634471&r1=634470&r2=634471&view=diff
==============================================================================
--- incubator/shindig/trunk/features/rpc/rpc.js (original)
+++ incubator/shindig/trunk/features/rpc/rpc.js Thu Mar  6 16:06:44 2008
@@ -280,7 +280,7 @@
         } else {
           // # targetId & sourceId@callId & packetNum & packetId & packetData
           src = [relay, '#', targetId, '&', from, '@', callId,
-                 '&1&0&', rpcData].join('');
+                 '&1&0&', encodeURIComponent(rpcData)].join('');
         }
         emitInvisibleIframe(src);
       }