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];
|
||||
eq = pair.indexOf("=");
|
||||
if(eq) {
|
||||
key = pair.slice(0, eq);
|
||||
value = pair.slice(eq + 1);
|
||||
key = decodeURIComponent(pair.slice(0, eq));
|
||||
value = decodeURIComponent(pair.slice(eq + 1));
|
||||
args[key] = value;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user