Closed Bug 1549773 Opened 4 years ago Closed 3 years ago

Copy as cURL should include --globoff

Categories

(DevTools :: Netmonitor, enhancement, P3)

68 Branch
enhancement

Tracking

(firefox76 fixed)

RESOLVED FIXED
Firefox 76
Tracking Status
firefox76 --- fixed

People

(Reporter: grayshade, Assigned: grayshade)

References

(Blocks 1 open bug)

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

Make a request with [] in URL and use "Copy as cURL" from the Network Dev Tools pane.

Actual results:

The curl command fails with "bad range specification in URL"

Expected results:

The command line should always include --globoff (or at least when brackets are present in the URL).

Type: defect → enhancement
Component: Untriaged → Netmonitor
Product: Firefox → DevTools
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: nobody → grayshade
Status: NEW → ASSIGNED
Pushed by marc.streckfuss@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/f0ef2616af4b
Disable cURL globbing when needed. r=Honza
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 76

Added --globoff to the Copy as cURL table in the Network Request List article.

You need to log in before you can comment on or make changes to this bug.