Re: clone from url with email address as username?(escaping @ symbol)
- From
- Ben 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/ >