From: Junio C Hamano <gitster@pobox.com>
To: Sebastian Gniazdowski <sgniazdowski@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: [BUG] Password cannot contain hash
Date: Mon, 09 Sep 2019 15:01:32 -0700 [thread overview]
Message-ID: <xmqq5zm1i0xv.fsf@gitster-ct.c.googlers.com> (raw)
In-Reply-To: <CAKc7PVDT0JXCAW=aON2jXidCgib=SjoUXU6Yh4t+xWB8QW4NPQ@mail.gmail.com> (Sebastian Gniazdowski's message of "Mon, 9 Sep 2019 23:18:46 +0200")
Sebastian Gniazdowski <sgniazdowski@gmail.com> writes:
> Hello,
> if the password contains a hash, then it's impossible to clone a
> repository, either with https or ssh protocols. I've had to use a
> `gitg' GUI to clone such a repo.
Hmph, do you mean that
git clone https://user:password@hosting.site/repository/
git clone ssh://user:password@hosting.site/repository/
if the "password" has '#' in it? Do passwords with colon, slash or
at-sign have the same issue? Would it help to URI escape the
problematic characters?
It is a separate issue to use passwords embedded in the URLs, but
still, escaping ought to work.
next prev parent reply other threads:[~2019-09-09 22:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-09 21:18 [BUG] Password cannot contain hash Sebastian Gniazdowski
2019-09-09 22:01 ` Junio C Hamano [this message]
2019-09-09 22:15 ` Jeff King
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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqq5zm1i0xv.fsf@gitster-ct.c.googlers.com \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=sgniazdowski@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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).