cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: URL with @ in passwords

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 28 Jul 2004 22:59:03 +0200 (CEST)

On Wed, 28 Jul 2004, Gisle Vanem wrote:

> Could a url like this be legalised?
>
>> curl -v ftp://ftp:passwd-with-@-in-it@host.foo/

It could possibly be dealt with, if we made the parser scan for the _last_
@-letter to terminate the password instead of having the _first_ @-letter
found do it.

But as Guenter pointed out, the above is not a valid URL.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-07-28