Issue Description
• Problem Overview: When using the Network panel in the Firefox browser, attempting to use the "Copy as cURL" feature results in the generated cURL com… (xem thêm)
Issue Description
• Problem Overview: When using the Network panel in the Firefox browser, attempting to use the "Copy as cURL" feature results in the generated cURL command containing an extra ^ character, causing the command to fail to execute properly. Now, it is necessary to submit this bug to the Firefox official team.
Detailed Steps
1. Open the Firefox browser and navigate to the developer tools (can be opened by pressing F12 or right-clicking and selecting "Inspect").
2. Switch to the "Network" panel and load a webpage to capture network requests.
3. Select a request, right-click and choose the "Copy as cURL" option.
4. Paste the copied cURL command into a terminal or command-line tool, and you will notice that the command contains additional ^ characters.
5. Execute the cURL command, and you will find that due to the presence of ^ characters, the command fails to run properly.
Expected Result
• The generated cURL command should not contain any additional ^ characters to be able to execute correctly in a terminal or command-line tool.
Actual Result
• The generated cURL command contains additional ^ characters, causing the command to fail to execute properly.
Submit Content
• Issue Title: The command generated by the "Copy as cURL" feature in the Network panel contains extra ^ characters
• Issue Description: When using the "Copy as cURL" feature in the Network panel with the Firefox browser, it was found that the generated cURL command contains extra ^ characters, causing the command to fail to execute properly. Please refer to the detailed steps and screenshots below.
• Reproduction Steps:
1. Open Firefox browser and go to the developer tools.
2. Switch to the "Network" panel, load a webpage to capture network requests.
3. Select a request, right-click and choose the "Copy as cURL" option.
4. Paste the copied cURL command into a terminal or command-line tool, and you will notice that the command contains additional ^ characters.
5. Running this cURL command will reveal that it fails to execute properly due to the presence of the ^ character.
• Expected result: The generated cURL command should not contain any additional ^ characters, allowing it to be executed correctly in a terminal or command-line tool.
• Actual result: The generated cURL command includes additional ^ characters, causing it to fail to execute properly.
• Additional information: Firefox Browser 141.0(aarch64), MacOS 15.3.2(24D81) MacPro M3
curl 'https://milkyway.cngb.org/milkyway/api/data/?filters=[%7B%22field%22:%22delete%22,%22rule%22:%22exact%22,%22value%22:false,%22operator%22:%22and%22%7D]^&pagination=%7B%22page%22:1,%22per_page%22:10%7D' \
--globoff \
--compressed \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:141.0) Gecko/20100101 Firefox/141.0' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2' \
-H 'Accept-Encoding: gzip, deflate, br, zstd' \
-H 'X-Requested-With: XMLHttpRequest' \
-H 'X-CSRFTOKEN: jdL0d4uDC4IgjdWcdkj1sykkr4Pm8C7FoFhESYK1M658FVFIjT2g8D2wVNvHMc7o' \
-H 'Connection: keep-alive' \
-H 'Referer: https://milkyway.cngb.org/milkyway/backstage/assets/data_assets' \
-H 'Cookie: dc_lang=zh-hans; _ga=GA1.2.116445420.1751513690; _ga_MB7C521GCN=GS2.2.s1752542198$o14$g1$t1752542198$j60$l0$h0; dc_csrftoken=jdL0d4uDC4IgjdWcdkj1sykkr4Pm8C7FoFhESYK1M658FVFIjT2g8D2wVNvHMc7o; db_session=er1j3oh2ifxk37qh3p64speh7q45t0ni' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Site: same-origin'