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/11 23:06:34 UTC

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

Author: zhen
Date: Tue Mar 11 15:06:25 2008
New Revision: 636124

URL: http://svn.apache.org/viewvc?rev=636124&view=rev
Log:
Fixed a double-escaping bug in rpc.js.


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=636124&r1=636123&r2=636124&view=diff
==============================================================================
--- incubator/shindig/trunk/features/rpc/rpc.js (original)
+++ incubator/shindig/trunk/features/rpc/rpc.js Tue Mar 11 15:06:25 2008
@@ -275,8 +275,8 @@
           // #iframe_id&callId&num_packets&packet_num&block_of_data
           var legacyData = [from, serviceName, null, null, from].concat(
               Array.prototype.slice.call(arguments, 3));
-          src = [relay, '#', encodeLegacyData([from, '&', callId, '&1&0&',
-                 encodeLegacyData(legacyData)])].join('');
+          src = [relay, '#', from, '&', callId, '&1&0&',
+                 encodeLegacyData(legacyData)].join('');
         } else {
           // # targetId & sourceId@callId & packetNum & packetId & packetData
           src = [relay, '#', targetId, '&', from, '@', callId,