git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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/
Previous: Daniel StenbergNext: Ben Bennett
Message 11 of 15 in “clone from url with email address as username?(escaping @ symbol)”
  1. Ben BennettSep 29, 2009
  2. Sverre RabbelierSep 29, 2009
  3. Matthieu MoySep 29, 2009
  4. Sverre RabbelierSep 29, 2009
  5. Ben BennettSep 29, 2009
  6. Matthieu MoySep 29, 2009
  7. Matthieu MoySep 29, 2009
  8. Daniel StenbergSep 29, 2009
  9. Matthieu MoySep 29, 2009
  10. Daniel StenbergSep 29, 2009
  11. Matthieu MoySep 29, 2009
  12. Ben BennettSep 29, 2009
  13. Matthieu MoySep 29, 2009
  14. Matthieu MoySep 29, 2009
  15. Ben BennettSep 29, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.