Re: clone from url with email address as username?(escaping @ symbol)
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Sep 29, 2009, 20:47 UTC
- Message-ID
- <vpqzl8dmqag.fsf@bauges.imag.fr>
- In-Reply-To
- <alpine.DEB.2.00.0909292228120.23903@tvnag.unkk.fr>
Daniel Stenberg <daniel@haxx.se> writes:
>> Many tools do in this case, Firefox is one of them. > > So what if you had that @ in your password and not in your user > name?
Then the last @ would still be the separator between the login/password and the hostname, and looking at the '@' starting from the right hand side would still work.
The problem is if you have a ":" in your login or password, _then_ it is ambiguous (but by far less common), but the @ is here to split something that can have a @ in it (login:pass) and something which can't (hostname), so there isn't any ambiguity.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/