From: Ben Bennett <benbennett@gmail.com>
To: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
Cc: Sverre Rabbelier <srabbelier@gmail.com>, git@vger.kernel.org
Subject: Re: clone from url with email address as username?(escaping @ symbol)
Date: Tue, 29 Sep 2009 13:55:57 -0500 [thread overview]
Message-ID: <970bc7c80909291155y492b458fg237c2f9d028af718@mail.gmail.com> (raw)
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:
> 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/
>
prev parent reply other threads:[~2009-09-29 18:56 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-29 14:20 clone from url with email address as username?(escaping @ symbol) Ben Bennett
2009-09-29 14:25 ` Sverre Rabbelier
2009-09-29 14:30 ` Matthieu Moy
2009-09-29 14:32 ` Sverre Rabbelier
2009-09-29 15:31 ` Ben Bennett
2009-09-29 16:59 ` Matthieu Moy
2009-09-29 17:07 ` Matthieu Moy
2009-09-29 17:48 ` Daniel Stenberg
2009-09-29 18:09 ` Matthieu Moy
2009-09-29 20:38 ` Daniel Stenberg
2009-09-29 20:47 ` Matthieu Moy
2009-09-29 17:51 ` Ben Bennett
2009-09-29 18:03 ` Matthieu Moy
2009-09-29 18:12 ` Matthieu Moy
2009-09-29 18:55 ` Ben Bennett [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=970bc7c80909291155y492b458fg237c2f9d028af718@mail.gmail.com \
--to=benbennett@gmail.com \
--cc=Matthieu.Moy@grenoble-inp.fr \
--cc=git@vger.kernel.org \
--cc=srabbelier@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).