use Ox.decodeURI/Ox.decodeURIComponent

This commit is contained in:
rolux 2013-08-14 18:54:06 +00:00
commit 1e10fb5967
4 changed files with 4 additions and 4 deletions

View file

@ -426,7 +426,7 @@ pandora.URL = (function() {
callback = arguments[0];
url = null;
if (document.location.pathname.slice(0, 4) == 'url=') {
document.location.href = decodeURI(document.location.pathname.slice(4));
document.location.href = Ox.decodeURI(document.location.pathname.slice(4));
} else {
self.URL.parse(function(state) {
// setState -> UI.set -> URL.update