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/