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

Re: URL-escape the '@' sign in username/password

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Nov 10, 2010, 16:07 UTC
Message-ID
<vpqpqudw49u.fsf@bauges.imag.fr>
In-Reply-To
<4CD9F655.8030908@enst-bretagne.fr>
Gabriel Corona <gabriel.corona@enst-bretagne.fr> writes:
Show 5 quoted lines
> Hello,
>
> I've been trying to use git with a http/webdav repository with an
> username containing a '@' character (foobar@host). The git FAQ [1]
> suggests escaping the '@' character with percent encoding.

Yes, I'm the one to blame for this: I wrote the FAQ entry trying to help someone on the list, but I didn't have a webserver to actually do the test.

> diff --git a/http.c b/http.c
> index 0a5011f..c4d18a9 100644
> --- a/http.c
> +++ b/http.c

The patch sounds good. Can you resend it properly (i.e. use git format-patch and/or git send-email, read about signed-off-by in Documentation/SubmittingPatches, ...) ?

Thanks in advance,
-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Gabriel Corona
Message 2 of 2 in “URL-escape the '@' sign in username/password”
  1. Gabriel CoronaNov 10, 2010
  2. Matthieu MoyNov 10, 2010

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.