summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhackademix2020-01-07 21:13:53 +0100
committerhackademix2020-01-07 21:13:53 +0100
commitd9a903172f9a90b06582bc62ec73762efef2d978 (patch)
tree1b9da547977beb7d7697bf93be54ddf8c0c71abf /src
parent4061eaab5239bf6618f564cb0a951b6a855024fb (diff)
downloadnoscript-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.js2
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;