Re: URL with @ in passwords
Date: Fri, 30 Jul 2004 16:34:12 +0200
"Daniel Stenberg" <daniel-curl_at_haxx.se> wrote:
> > Could a url like this be legalised?
> >> curl -v ftp://ftp:passwd-with-@-firstname.lastname@example.org/
> 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.
You mean the last '@' before the file part? So an URL
Man, this is getting complicated doing in C. I think I once
suggested using liburi or a generated scanner for this. I have
some half-finished url-parser done with GNU flex if you'd care
to look at it.
Received on 2004-07-29