cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: URL with @ in passwords

From: Gisle Vanem <giva_at_bgnett.no>
Date: Wed, 28 Jul 2004 23:12:39 +0200

> The user name (and password), if present, are followed by a
> commercial at-sign "@". Within the user and password field, any ":",
> "@", or "/" must be encoded.

Yes, but encoded where? Before the curl/libcurl gets a chance to parse
it or when sending it to a proxy or back to user for display? FireFox
AFAICS correctly shows it as
  ftp://user:passwd-with-%40-in-it@host.foo/

in the address bar *after* the ftp-listing is retrieved.
But it always sends PASS mozilla_at_example.com for any ftp-url
and doesn't give a toss about my ftp-proxy settings. (?)

--gv
Received on 2004-07-28