From fe1ce09449966e46758f2ae8ceb38ddc35c48791 Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Sun, 9 Nov 2014 14:11:02 -0800 Subject: [PATCH] Decode url strings --- winamp.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/winamp.js b/winamp.js index 20ccee8c..9eed1c07 100755 --- a/winamp.js +++ b/winamp.js @@ -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; } }