Open Bug 1504637 Opened 6 years ago Updated 2 years ago

The network console displays incorrect data in the "response" tab for pages using HTTP basic auth

Categories

(DevTools :: Netmonitor, defect, P3)

62 Branch
defect

Tracking

(Not tracked)

People

(Reporter: pere.jobs, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0 Steps to reproduce: 1. Open the network tab in firefox developer tools 2. Open a page requiring HTTP basic authentication. For instance: https://jigsaw.w3.org/HTTP/Basic/ 3. Enter an invalid username and password. For instance invalid/invalid 4. Enter the valid username and password: guest/guest 5. Open the two "401 Unauthorized" responses in the developer tools, and look at the responses indicated by firefox Actual results: Firefox shows the response of the last request instead of the response to the request that resulted in the 401. Expected results: It should show the actual response the server made to the request (an html page with the title "Unauthorized")
Component: Untriaged → Netmonitor
Product: Firefox → DevTools

Thanks for the report!

I can confirm this is an issue (redirected request response is not logged due to lack of the platform support)

Honza

Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: