Closed Bug 1791983 Opened 1 year ago Closed 4 months ago

Form data query parameters truncated

Categories

(DevTools :: Netmonitor, defect, P2)

Firefox 106
defect

Tracking

(firefox118 fixed)

RESOLVED FIXED
118 Branch
Tracking Status
firefox118 --- fixed

People

(Reporter: atiware, Assigned: mrl0adxe)

References

(Blocks 1 open bug)

Details

(Keywords: good-first-bug)

Attachments

(6 files)

Attached image screenshot console.png

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:106.0) Gecko/20100101 Firefox/106.0

Steps to reproduce:

executed an XHR POST request in JS with the paramterstring a=bcd::efg/hij=klm,nop&qrs=tuvwxyz.
see the attached testcase-developertools.html
see attached screenshots

Actual results:

all the parameters are submitted correct to the server, but firefox developertools displays only a truncated parameter string, which is misleading.
The value for parameter "a" is displayed as "bcd::efg/hij" and the "=klm,nop" part is not shown.

Expected results:

firefox developertools should display the query parameter as is

Attached image network.png
Component: Untriaged → Console
Product: Firefox → DevTools
Component: Console → Netmonitor
Summary: Developertools shows query parameters truncated → Form data query parameters truncated

The severity field is not set for this bug.
:Honza, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(odvarko)

Thank you for the test case, I can easily reproduce on my machine (Win 10, Fx Nightly)

Online version of the test case
http://janodvarko.cz/tests/bugzilla/1791983/

Honza

Severity: -- → S3
Status: UNCONFIRMED → NEW
Has STR: --- → yes
Ever confirmed: true
Flags: needinfo?(odvarko)
Priority: -- → P2

I'll try to have a patch submitted tonight :D

Assignee: nobody → marzvrover
Status: NEW → ASSIGNED
Attachment #9302305 - Attachment description: Bug 1791983 - split query paramaters at first instance of =, r=Honza → Bug 1791983 - split query paramaters at first instance of =, r=Honza,nchevobbe

This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit auto_nag documentation.

Assignee: marzvrover → nobody
Status: ASSIGNED → NEW
Assignee: nobody → mrl0adxe
Status: NEW → ASSIGNED
Pushed by apoirot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c4d0e1b493c9
[devtools] parse complete param value even if containing equals sign r=devtools-reviewers,ochameau
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch
You need to log in before you can comment on or make changes to this bug.