From 2c3cf67776102c2b6e7c3d1e8aac809a57fcee77 Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 11 Jul 2013 18:26:26 +0000 Subject: [PATCH] fix url encoding --- static/js/pandora/utils.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/js/pandora/utils.js b/static/js/pandora/utils.js index 33874efac..60b26eb46 100644 --- a/static/js/pandora/utils.js +++ b/static/js/pandora/utils.js @@ -1008,7 +1008,9 @@ pandora.getPart = function(state, str, callback) { callback(); }); } else if (state.page == 'tv') { - var split = str.replace(/%20/g, ' ').split(':'), user, name; + // FIXME: decoding shouldn't have to happen here + str = str.replace(/%20/g, ' '); + var split = str.split(':'), user, name; if (split.length >= 2) { user = split.shift(); name = split.join(':');