cURL / Mailing Lists / curl-library / Single Mail

curl-library

Parsing a username without a password in a URL

From: Frank Goodman <krampus_at_gmail.com>
Date: Tue, 24 Oct 2006 11:54:07 -0400

Greetings,

I'm wondering if it's legal to have a username without a password in a URL.
For example, something like http://g@a.com/e/f/g?h=k

In this case, curl will decompose the URL in the following manner:

username: g
password: a
host: a.com

which is incorrect if the URL is valid.

Thanks,
-k
Received on 2006-10-24