On Windows version of Firefox, the "copy as curl (POSIX)" option is not POSIX compliant
Categories
(DevTools :: Netmonitor, defect, P3)
Tracking
(Not tracked)
People
(Reporter: caroline, Unassigned)
Details
Steps to reproduce:
I discovered this bug on a website that I don't want to share, but you can reproduce on any website : open the network tab, go to a website, select a request, and resend it with a line break in the data (for example, "a\nb").
Actual results:
If you "copy as curl (POSIX)" this request, the generated request has an "--data-raw $'\na\nb'", but this is not POSIX compliant (see https://www.shellcheck.net/wiki/SC3003), and cannot be executed in Dash.
Expected results:
This option should either have a more explicit name ("copy as curl (Bash)" ?), or the escaped string should be generated in a POSIX compliant form, such as "$(printf 'a\nb')".
Comment 1•3 years ago
|
||
The severity field is not set for this bug.
:Honza, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 2•3 years ago
|
||
Bomsy, could this be a dup of the existing report?
Updated•3 years ago
|
Comment 3•3 years ago
|
||
Honza,
Nothing at the moment.
Thanks for reporting Caroline.
I think we should fix this to be more POSIX compliant.
Description
•