mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 09:37:17 +00:00
Decode url strings
This commit is contained in:
parent
c9ebc53dfb
commit
fe1ce09449
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue