mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 18:07:31 +09:00
Bug 1592407 - Port OAuth2 decoding fix from gData add-on.
This commit is contained in:
parent
1953b80007
commit
084ac5f020
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue