projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
338817f
)
Spaces could be encoded as '+' instead '%20'
author
Capitaine
<capitaine@coolsmile.net>
Tue, 17 Dec 2013 17:14:57 +0000
(18:14 +0100)
committer
Capitaine
<capitaine@coolsmile.net>
Tue, 17 Dec 2013 17:14:57 +0000
(18:14 +0100)
client/src/index.html.tmpl
patch
|
blob
|
blame
|
history
diff --git
a/client/src/index.html.tmpl
b/client/src/index.html.tmpl
index aeed33dd4e13d4e4153dc52bbd5febd8a1dfc739..d3e3d46f54b9107020a4f41426633f0616362dd5 100644
(file)
--- a/
client/src/index.html.tmpl
+++ b/
client/src/index.html.tmpl
@@
-350,7
+350,7
@@
var query = window.location.search.substring(1);
\r
var vars = query.split('&');
\r
for (var i = 0; i < vars.length; i++) {
\r
- var pair = vars[i].split('=');
\r
+ var pair = vars[i].
replace(/\+/g, '%20').
split('=');
\r
if (decodeURIComponent(pair[0]) == variable) {
\r
return decodeURIComponent(pair[1]);
\r
}
\r