This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Problem using Copy as cURL (Windows)

  • 3 பதிலளிப்புகள்
  • 0 இந்த பிரச்னைகள் உள்ளது
  • Last reply by paul921

I've just updated from Firefox 101.0.1 to Firefox ESR 115.18.0 (I'm still using Windows 7, so can't get a more recent release). I have a program which reads a cURL command from the clipboard then runs cURL repeatedly with slightly modified versions of the command. The command is read from the clipboard rather than pasted into the command prompt window because it may be more than 4096 characters. This no longer works with the updated version of Firefox. Comparing the cURL commands from the two versions of Firefox showed lots of "^" characters had been added. For example "120Months|Yield|RiskScore" had become "120Months^|Yield^|RiskScore". When I edited the cURL command to remove the "^" characters, everything worked like it had before the Firefox update. I suspect this is related to the changes introduced by Bug 1777800. I would like to know whether the problem can be reproduced using up-to-date versions of Firefox and Windows. Starting with web page https://www.trustnet.com/fund/price-performance/t/investment-trusts?norisk=true&PageSize=25 use the network monitor to capture the result of moving to the next page of data, Copy as cURL (Windows) and use the result. Do you get a response containing the data for the next 25 funds or a very small file containing an error message?

I've just updated from Firefox 101.0.1 to Firefox ESR 115.18.0 (I'm still using Windows 7, so can't get a more recent release). I have a program which reads a cURL command from the clipboard then runs cURL repeatedly with slightly modified versions of the command. The command is read from the clipboard rather than pasted into the command prompt window because it may be more than 4096 characters. This no longer works with the updated version of Firefox. Comparing the cURL commands from the two versions of Firefox showed lots of "^" characters had been added. For example "120Months|Yield|RiskScore" had become "120Months^|Yield^|RiskScore". When I edited the cURL command to remove the "^" characters, everything worked like it had before the Firefox update. I suspect this is related to the changes introduced by Bug 1777800. I would like to know whether the problem can be reproduced using up-to-date versions of Firefox and Windows. Starting with web page https://www.trustnet.com/fund/price-performance/t/investment-trusts?norisk=true&PageSize=25 use the network monitor to capture the result of moving to the next page of data, Copy as cURL (Windows) and use the result. Do you get a response containing the data for the next 25 funds or a very small file containing an error message?

All Replies (3)

That software isn't a Firefox software? If not then you need to contact their software support to get it update to work with Firefox.

markwarner22 மூலமாக திருத்தப்பட்டது

Helpful?

Perhaps I should have said "I have written a program which reads a cURL command...". I have now updated the program to strip "^" characters which solves my problem. I'm concerned that this change to Copy as cURL will cause problems for other users.

Helpful?

I've discovered that the code which adds the "^" characters (curl.js) has not changed between Firefox release 115 and Firefox release 133 (the latest). So it will be possible to reproduce the problem using an up-to-date version of Firefox. Since the "^" character is an escape character handled by Windows cmd.exe, it is probably not a good idea to include it in the data which cURL sends to a server. I have found several cases where using Copy as cURL (Windows) results in "^" characters being sent to the server. The server then fails to respond or responds with an error. After removing the "^" characters, the server responds with the correct data. Should I report this as a bug using Bugzilla?

Helpful?

கேள்வி எழுப்பு

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.