diff options
author | Matt A. Tobin <email@mattatobin.com> | 2019-11-14 21:56:13 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2019-11-14 21:56:13 -0500 |
commit | c463d29a398105d5c6f60d030de4d52f71c8bcb6 (patch) | |
tree | 9478a6dac5f25492920b97ff8f62ff0dee4056cd /mailnews | |
parent | deeee1ebcce150af03b2353a735a051328f34c77 (diff) | |
download | aura-central-c463d29a398105d5c6f60d030de4d52f71c8bcb6.tar.gz |
Bug 1592407 - Port OAuth2 decoding fix from gData add-on.
Diffstat (limited to 'mailnews')
-rw-r--r-- | mailnews/base/util/OAuth2.jsm | 2 |
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; } |