diff options
author | hackademix | 2020-01-07 21:13:53 +0100 |
---|---|---|
committer | hackademix | 2020-01-07 21:13:53 +0100 |
commit | d9a903172f9a90b06582bc62ec73762efef2d978 (patch) | |
tree | 1b9da547977beb7d7697bf93be54ddf8c0c71abf /src | |
parent | 4061eaab5239bf6618f564cb0a951b6a855024fb (diff) | |
download | noscript-d9a903172f9a90b06582bc62ec73762efef2d978.tar.gz noscript-d9a903172f9a90b06582bc62ec73762efef2d978.tar.xz noscript-d9a903172f9a90b06582bc62ec73762efef2d978.zip |
Fixed initial requst URL lost across redirections.
Diffstat (limited to 'src')
-rw-r--r-- | src/bg/RequestGuard.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bg/RequestGuard.js b/src/bg/RequestGuard.js index ac952cd..e57fbba 100644 --- a/src/bg/RequestGuard.js +++ b/src/bg/RequestGuard.js @@ -257,7 +257,7 @@ var RequestGuard = (() => { let redirected = pendingRequests.get(requestId); let initialUrl = redirected ? redirected.initialUrl : url; pendingRequests.set(requestId, { - url, redirected, + initialUrl, url, redirected, onCompleted: new Set(), }); return redirected; |