Commit 47bd9e8d authored by Burlen Loring's avatar Burlen Loring
Browse files

vtkweb: connect to existing session issue

when passing name=value pairs into vtkWeb.smartConnect via
location URL, value's need to be encoded/decoded to handle the
case when they contain some special chars, eg. ?,&,=. This
occurs in particular when passing  sessionURL, whose value
contains ? and =.

Change-Id: I5027857658609727f3a7230faaab68bc9c02d609
parent 90c9a291
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
udpateConnectionFromURL = function(connection) { udpateConnectionFromURL = function(connection) {
var params = extractURLParameters(); var params = extractURLParameters();
for(var key in params) { for(var key in params) {
connection[key] = params[key]; connection[key] = decodeURIComponent(params[key]);
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment