RE: Incorrect Digest Username with Diegst Auth

2013-04-14 Thread Daniel Stenberg
On Sun, 14 Apr 2013, Steve Holme wrote: it looks like the username is URL decoded when it is part of the URL but not when passed via the --user argument. So the following should work: curl.exe --digest http:// sip%3aal...@example.com:password@system:8080/resource-lists/users/sip:alice@ exam

RE: Incorrect Digest Username with Diegst Auth

2013-04-14 Thread Steve Holme
On Thu, 11 Apr 2013, Steve Holme wrote: > > The command line is only taking "sip" as username due to : in username. > > Is there any mechanism to make it work with current username only? > > I'm not saying this will work but have you tried URL encoding the colon ? > > For example: > > curl.exe --

RE: Incorrect Digest Username with Diegst Auth

2013-04-11 Thread Steve Holme
Hi, On Thu, 11 Apr 2013, sumit gambhir wrote: > The command line is only taking "sip" as username due to : in username. > Is there any mechanism to make it work with current username only? I'm not saying this will work but have you tried URL encoding the colon ? For example: curl.exe --digest

Re: Incorrect Digest Username with Diegst Auth

2013-04-11 Thread Pierre Chapuis
> The command line is only taking "sip" as username due to : in username. > Is there any mechanism to make it work with current username only? The exact same question has been answered here in 2009: http://curl.haxx.se/mail/archive-2009-12/0009.html I don't think things have evolved since then.

Incorrect Digest Username with Diegst Auth

2013-04-10 Thread sumit gambhir
Hi, I am running command line tool of Curl and made a GET request with Digest Authentication. Digest Username : - sip:al...@example.com Digest Password : - password curl.exe --digest -u sip:al...@example.com:password http://system:8080/resource-lists/users/sip:al...@example.com/index--header x