curl / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl -u problem escaping special chars in password

From: Leo Lagos <leo.lagos_at_gmail.com>
Date: Fri, 5 Oct 2018 08:55:10 -0300

Thanks Jim,

The problem is on the first platform I tried, which is Cygwin...I tried
this also on RHEL, just today, and it doesn't happen on Linux...

So, time to write to the cygwin mail..

Regards,

On Wed, Oct 3, 2018 at 6:11 PM Jim Young <j4young_at_gmail.com> wrote:

> On 10/3/2018 2:03 PM, Leo Lagos wrote:
> > However, in curl I've been unable to figure out the correct escaping
> > for -u:
> > $ curl -stderr -u "apiuser:jsd2018%##" -G http://*****
> > ...
> > <p>Basic Authentication Failure - Reason :
> > AUTHENTICATION_DENIED</p>
> >
> Assuming your running this on a Linux/Unix system under bash or similar
> shell, try enclosing the user:password parameter in single quotes (')
> rather than double quotes (")
>

-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-10-05