Open
Bug 983451
Opened 10 years ago
Updated 2 years ago
Allow to customize Referer header in Netmonitor
Categories
(DevTools :: Netmonitor, enhancement, P3)
Tracking
(Not tracked)
NEW
People
(Reporter: obrufau, Unassigned)
References
(Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:30.0) Gecko/20100101 Firefox/30.0 (Beta/Release) Build ID: 20140313030202 Steps to reproduce: 1. Open Console in Network tab 2. Load some page 3. Click the loaded page in the Network tool 4. Click Edit and Resend 5. Add/delete/change Referer header 6. Click Send Actual results: The Referer header is not added/deleted/changed. Expected results: The Referer header should be added/deleted/changed.
Comment 1•10 years ago
|
||
(In reply to obrufau from comment #0) > 5. Add/delete/change Referer header Can you give a concrete example of what you modify and what is the result ?
Flags: needinfo?(obrufau)
(In reply to Paul Silaghi, QA [:pauly] from comment #1) > Can you give a concrete example of what you modify and what is the result ? For example, if the initial request is > Host: bugzilla.mozilla.org > User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:30.0) Gecko/20100101 Firefox/30.0 > Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 > Accept-Language: ca,es;q=0.8,en;q=0.5,en-us;q=0.3 > Accept-Encoding: gzip, deflate > DNT: 1 > Referer: https://bugzilla.mozilla.org/enter_bug.cgi > Connection: keep-alive I change Referer to > Host: bugzilla.mozilla.org > User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:30.0) Gecko/20100101 Firefox/30.0 > Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 > Accept-Language: ca,es;q=0.8,en;q=0.5,en-us;q=0.3 > Accept-Encoding: gzip, deflate > DNT: 1 > Referer: https://bugzilla.mozilla.org/foo_bar > Connection: keep-alive But the new request is exactly like the initial one.
Flags: needinfo?(obrufau)
Comment 3•10 years ago
|
||
Thank you. Seems like you're right. Confirmed 30.0a1 (2014-03-14), Win 7 x64.
Status: UNCONFIRMED → NEW
Ever confirmed: true
(In reply to obrufau from comment #2) > But the new request is exactly like the initial one. Well, I should clarify that it can be different. For example, with the following configuration: > network.http.sendRefererHeader = 2 > network.http.referer.XOriginPolicy = 2 If loading a page from another domain, there won't be the Referer header in the initial request. But the request made with Netmonitor will have it, since it has been done from the same domain. Then, the problem isn't that it isn't possible to customize the Referer of the initial request, but that Referer configuration overrides the Referer set manually in Netmonitor.
Comment 5•8 years ago
|
||
The sending is implemented using XHR, which limits the set of headers that are allowed to be set by the user.
See Also: → 1270096
Updated•8 years ago
|
Priority: -- → P2
Updated•6 years ago
|
Product: Firefox → DevTools
Comment 6•5 years ago
|
||
Inactive bug, moving to the backlog (P3) Honza
Severity: normal → enhancement
Priority: P2 → P3
Updated•4 years ago
|
Blocks: netmonitor-edit-and-resend
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•