Thank you for the quick response
Yes I am using www.abc.com <http://www.abc.com> .
I cant give you the real URL because it is private and secure
But anything that is preceded by the & is interpreted as a command.
www.abc.com/ <http://www.abc.com/&aaaaaa> &aaaaaa would respond with aaaaa
is not a valid command.
In your example it would respond that baz is an invalid command.
Just to check .. what is the URL encoding value or the ASCII value .. of the
double quote that you are referring to ?
. %22 ..?
From: curl-users [mailto:email@example.com] On Behalf Of Ray
Sent: 24 March, 2018 4:31 PM
Subject: Re: & in the URL
On 3/24/2018 12:42 AM, Mike Lambert wrote:
The other day I posted the same problem .. and I thought that I resolved it
.. but no it is still not resolved.
Problem is :- when the URL has a & in it I get the error unknown command.
Error ï¿œ EEEEEE is not recognized as an internal or external command.
Similarly with CCCCCC.
I have replace the & with %26 ï¿œ no good
I have wrapped the complete line in ï¿œ ï¿œï¿œ no good
I have wrapped the line in ï¿œ ï¿œ no good
I have changed & to \& or \%25 or ï¿œ&ï¿œ or ï¿œ&ï¿œ ï¿œ no good
I have tried replacing & with ^& ï¿œ no good
I have googled the problem and tried them all .. still no good.
I can enter the URL manually with the & and it works fine in Chrome and IE
I am running 7.59.0 on Windows 7 64 bit.
Quoting it should do it, save for the caveats I wrote about last time. (Are
you using normal double quotes? Your e-mail contains unicode quotes which I
wish would go away) If that doesn't work please give us a sample to
reproduce such as httpbin, for example curl