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
BBBen Bennett <benbennett@gmail.com>
Date
Sep 29, 2009, 18:55 UTC
Message-ID
<970bc7c80909291155y492b458fg237c2f9d028af718@mail.gmail.com>
In-Reply-To
<vpqpr99pqle.fsf@bauges.imag.fr>

I will look at it tonight. But my fix would be to automatically escape the @ symbol when git passes onto curl. Don't know if this would work easy or not, but it would be something along the lines of .

https://(USERNAME)@(SERVER_ADDR)

The @ would be the last index of the @ symbol in the URL. Then somekind of function that escape_username_for_curl.

On Tue, Sep 29, 2009 at 1:12 PM, Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> wrote:

Show 13 quoted lines
> Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes:
>
>> OK, so it seems Git should be fixed to unescape this %40 somewhere,
>> most likely in http_auth_init in http.c, in addition to by fix
>> below.
>
> ... err, no not _in addition_ to it, forget this. There's one @ and
> git finds it correctly.
>
> --
> Matthieu Moy
> http://www-verimag.imag.fr/~moy/
>
Previous: Matthieu Moy
Message 15 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.