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 | 4ae219c8d28bedac48df9bbbc08107c4cba545df (patch) | |
tree | 9478a6dac5f25492920b97ff8f62ff0dee4056cd /mailnews | |
parent | b2edcb2b4df1a2ba79ba07fa6f05e1fb79925093 (diff) | |
download | uxp-4ae219c8d28bedac48df9bbbc08107c4cba545df.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 8e6f9e713a..94f850e0be 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; } |