curl-library
Re: Specifying colon in authentication username
Date: Tue, 4 Sep 2007 22:09:13 -0400
Thanks Jeff, Daniel.
I get the idea.
However, since we cannot provide only the password to curl library, so
it means that both username and password would have to be sent in the
URL. Therefore, this solution would not be feasible in digest
authentication. (Correct me if I am wrong)
Would try the suggested solution and let you know how that works out.
On 9/4/07, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Tue, 4 Sep 2007, Achint Mehta wrote:
>
> > Is there any way that I can specify a username conatining a colon (or is it
> > a violation of protocol) ?
>
> #7 in http://curl.haxx.se/docs/knownbugs.html
>
> The only way is to embed it into the URL and have the colon URL-encoded.
>
> --
> Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
>
Received on 2007-09-05