Properly decode URI components before use them.

see #481
This commit is contained in:
Antoine Nguyen
2013-09-18 09:46:28 +02:00
parent b96706c98d
commit dc00f7d2fd
+1 -1
View File
@@ -179,7 +179,7 @@ History.prototype = {
},
getbaseurl: function() {
return this.base.substr(0, this.base.length - 1);
return decodeURIComponent(this.base.substr(0, this.base.length - 1));
},
delparam: function(name) {