From d9a903172f9a90b06582bc62ec73762efef2d978 Mon Sep 17 00:00:00 2001 From: hackademix Date: Tue, 7 Jan 2020 21:13:53 +0100 Subject: Fixed initial requst URL lost across redirections. --- src/bg/RequestGuard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bg/RequestGuard.js') 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; -- cgit v1.2.3