summaryrefslogtreecommitdiffstats
path: root/mailnews
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-11-14 21:56:13 -0500
committerMatt A. Tobin <email@mattatobin.com>2019-11-14 21:56:13 -0500
commitf3d462c6049bd2f35571c2a0e2a7c4df4f3ca81c (patch)
tree9478a6dac5f25492920b97ff8f62ff0dee4056cd /mailnews
parent1d30f6fa8413746ddc408f93710d701493af273d (diff)
downloadUXP-f3d462c6049bd2f35571c2a0e2a7c4df4f3ca81c.tar
UXP-f3d462c6049bd2f35571c2a0e2a7c4df4f3ca81c.tar.gz
UXP-f3d462c6049bd2f35571c2a0e2a7c4df4f3ca81c.tar.lz
UXP-f3d462c6049bd2f35571c2a0e2a7c4df4f3ca81c.tar.xz
UXP-f3d462c6049bd2f35571c2a0e2a7c4df4f3ca81c.zip
Bug 1592407 - Port OAuth2 decoding fix from gData add-on.
Diffstat (limited to 'mailnews')
-rw-r--r--mailnews/base/util/OAuth2.jsm2
1 files changed, 1 insertions, 1 deletions
diff --git a/mailnews/base/util/OAuth2.jsm b/mailnews/base/util/OAuth2.jsm
index 8e6f9e713..94f850e0b 100644
--- a/mailnews/base/util/OAuth2.jsm
+++ b/mailnews/base/util/OAuth2.jsm
@@ -18,7 +18,7 @@ function parseURLData(aData) {
let result = {};
aData.split(/[?#]/, 2)[1].split("&").forEach(function (aParam) {
let [key, value] = aParam.split("=");
- result[key] = value;
+ result[key] = decodeURIComponent(value);
});
return result;
}