All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
To: Daniel Stenberg <daniel@haxx.se>
Cc: Ben Bennett <benbennett@gmail.com>,
	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 22:47:35 +0200	[thread overview]
Message-ID: <vpqzl8dmqag.fsf@bauges.imag.fr> (raw)
In-Reply-To: <alpine.DEB.2.00.0909292228120.23903@tvnag.unkk.fr> (Daniel Stenberg's message of "Tue\, 29 Sep 2009 22\:38\:19 +0200 \(CEST\)")

Daniel Stenberg <daniel@haxx.se> writes:

>> Many tools do in this case, Firefox is one of them.
>
> So what if you had that @ in your password and not in your user
> name?

Then the last @ would still be the separator between the
login/password and the hostname, and looking at the '@' starting from
the right hand side would still work.

The problem is if you have a ":" in your login or password, _then_ it
is ambiguous (but by far less common), but the @ is here to split
something that can have a @ in it (login:pass) and something which
can't (hostname), so there isn't any ambiguity.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/

  reply	other threads:[~2009-09-29 20:48 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 [this message]
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

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=vpqzl8dmqag.fsf@bauges.imag.fr \
    --to=matthieu.moy@grenoble-inp.fr \
    --cc=benbennett@gmail.com \
    --cc=daniel@haxx.se \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.