Decode url strings

This commit is contained in:
Jordan Eldredge 2014-11-09 14:11:02 -08:00
parent c9ebc53dfb
commit fe1ce09449

View File

@ -498,8 +498,8 @@ function anchorArgument(argument, defaultValue) {
pair = pairs[i]; pair = pairs[i];
eq = pair.indexOf("="); eq = pair.indexOf("=");
if(eq) { if(eq) {
key = pair.slice(0, eq); key = decodeURIComponent(pair.slice(0, eq));
value = pair.slice(eq + 1); value = decodeURIComponent(pair.slice(eq + 1));
args[key] = value; args[key] = value;
} }
} }