cURL / Mailing Lists / curl-library / Single Mail

curl-library

URL with @ in passwords

From: Gisle Vanem <giva_at_bgnett.no>
Date: Wed, 28 Jul 2004 22:20:59 +0200

Could a url like this be legalised?

> curl -v ftp://ftp:passwd-with-@-in-it@host.foo/
* Couldn't find host -in-it_at_host.foo in the .netrc file, using defaults
* Could not resolve host: -in-it_at_host.foo; Host not found
* Closing connection #0
curl: (6) Could not resolve host: -in-it_at_host.foo; Host not found

Internet Explorer v6 doesn't parse it. But Mozilla FireFox 0.8 and
the ftp client in my 4NT shell does. Can't see why curl should be
any worse.

--gv
Received on 2004-07-28