Edit-and-Resend headers start with `undefined` and have two trailing newlines
Categories
(DevTools :: Netmonitor, defect, P1)
Tracking
(firefox-esr68 unaffected, firefox76 unaffected, firefox77 unaffected, firefox78+ fixed, firefox79 fixed)
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox76 | --- | unaffected |
firefox77 | --- | unaffected |
firefox78 | + | fixed |
firefox79 | --- | fixed |
People
(Reporter: johnp, Assigned: bomsy)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details | Review |
What were you doing?
With a new profile on any page use the Edit-and-Resend functionality.
What happened?
The editable request headers look like this:
undefined
Host: [hostname removed]
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0
Accept: image/webp,*/*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
This does not seem to affect the actually sent headers though.
What should have happened?
undefined
and empty newlines should not be there if they were not in the original request.
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Thanks for the report!
Assignee | ||
Comment 2•4 years ago
|
||
Updated•4 years ago
|
Assignee | ||
Comment 3•4 years ago
|
||
This would probably need uplift.
Comment 4•4 years ago
|
||
(In reply to Hubert Boma Manilla (:bomsy) from comment #3)
This would probably need uplift.
Yes, 100% agree, thanks.
Honza
Pushed by hmanilla@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7d33875e79bf Remove undefined and trim the headers for edit & resend r=Honza
Comment 6•4 years ago
|
||
bugherder |
Comment 7•4 years ago
|
||
[Tracking Requested - why for this release]: Broken Edit-and-Resend in Network panel for cached responses.
Updated•4 years ago
|
Comment 8•4 years ago
|
||
Comment on attachment 9153029 [details]
Bug 1642201 - Remove undefined and trim the headers for edit & resend r=honza
Beta/Release Uplift Approval Request
- User impact if declined: Confuses web developers who wants to use "Edit and Resend" HTTP request feature
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Fix in developer tools, potential impact on web developers only, simple one liner patch.
- String changes made/needed:
Comment 9•4 years ago
|
||
Comment on attachment 9153029 [details]
Bug 1642201 - Remove undefined and trim the headers for edit & resend r=honza
netmonitor regression fix, approved for 78.0b3
Updated•4 years ago
|
Comment 10•4 years ago
|
||
bugherder uplift |
Description
•