mirror of
https://github.com/captbaritone/webamp
synced 2024-11-22 07:40:51 +00:00
Decode url strings
This commit is contained in:
parent
c9ebc53dfb
commit
fe1ce09449
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user