New issue
Advanced search Search tips

Issue 922361 link

Starred by 2 users

Issue metadata

Status: Unconfirmed
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

301 Redirected requests not intercepted by Chrome WebRequest API

Reported by nig....@gmail.com, Jan 16 (6 days ago)

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

Steps to reproduce the problem:
1. Add a listener chrome.webRequest.onHeadersReceived.addListener for all URLs where you manipulate details.responseHeaders
2. Open a URL: "http://www.myntra.com" and observe that above listener is invoked.
3. The above URL is server redirected with HTTP status code 301 to "https://www.myntra.com". Although the second request is shown in network logs in Inspect window, but the request is not intercepted by extension this time.

What is the expected behavior?
Network Request should always be intercepted by the extension.

What went wrong?
301 redirected requests are not intercepted by chrome extension webRequest APIs.

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 71.0.3578.98  Channel: stable
OS Version: 10.0
Flash Version:
 

Comment 1 by dtapu...@chromium.org, Jan 16 (6 days ago)

Components: Platform>Extensions

Comment 2 by vamshi.kommuri@chromium.org, Jan 16 (6 days ago)

Labels: Needs-Triage-M71
Cc: phanindra.mandapaka@chromium.org
Labels: Triaged-ET Needs-Feedback
Thanks for filing the issue...

@Reporter: It would be really helpful if a sample Extension is provided, so that we can investigate the issue further.

Thanks..!

Sign in to add a comment