From dc00f7d2fd27c8709f0ad07f8fa32d144a34bcbf Mon Sep 17 00:00:00 2001 From: Antoine Nguyen Date: Wed, 18 Sep 2013 09:46:28 +0200 Subject: [PATCH] Properly decode URI components before use them. see #481 --- modoboa/static/js/history.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modoboa/static/js/history.js b/modoboa/static/js/history.js index 72cd2c069..d582219a1 100644 --- a/modoboa/static/js/history.js +++ b/modoboa/static/js/history.js @@ -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) {