use Ox.decodeURI/Ox.decodeURIComponent
This commit is contained in:
parent
e1913a1d05
commit
1e10fb5967
4 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue