You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shindig.apache.org by jo...@apache.org on 2009/08/26 00:12:00 UTC

svn commit: r807834 - /incubator/shindig/trunk/features/src/main/javascript/features/rpc/rpc.js

Author: johnh
Date: Tue Aug 25 22:12:00 2009
New Revision: 807834

URL: http://svn.apache.org/viewvc?rev=807834&view=rev
Log:
Set the default rpctoken in-gadget to "", which is also used as the gadgets.rpc.setAuthToken(...) default. This ensures that auth-token-free usage of the library works, in particular fixing IE6/7 (NIX) C -> G communication, which failed due to an incomplete handshake, wherein auth token mismatch occurred.


Modified:
    incubator/shindig/trunk/features/src/main/javascript/features/rpc/rpc.js

Modified: incubator/shindig/trunk/features/src/main/javascript/features/rpc/rpc.js
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/features/src/main/javascript/features/rpc/rpc.js?rev=807834&r1=807833&r2=807834&view=diff
==============================================================================
--- incubator/shindig/trunk/features/src/main/javascript/features/rpc/rpc.js (original)
+++ incubator/shindig/trunk/features/src/main/javascript/features/rpc/rpc.js Tue Aug 25 22:12:00 2009
@@ -117,7 +117,7 @@
     params = gadgets.util.getUrlParameters();
   }
 
-  authToken['..'] = params.rpctoken || params.ifpctok || 0;
+  authToken['..'] = params.rpctoken || params.ifpctok || "";
 
   // Indicates whether to support early-message queueing, which is designed
   // to ensure that all messages sent by gadgets.rpc.call, irrespective