encodeURIComponent added for login
authorMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Fri, 5 Dec 2008 08:44:44 +0000 (08:44 +0000)
committerMatteo Nastasi (mop) <nastasi@alternativeoutput.it>
Fri, 5 Dec 2008 08:44:44 +0000 (08:44 +0000)
web/room.js

index 10453fe..000ce38 100644 (file)
@@ -103,7 +103,7 @@ function j_login_manager(form)
     else {
         // console.log("richiesta token");
         /* richiede token */
-        token = server_request('getchallenge|'+form.elements['nameid'].value);
+        token = server_request('getchallenge|'+encodeURIComponent(form.elements['nameid'].value));
         tokens = token.split('|');
         
         // console.log('XX token: '+token);