diff options
author | Eric Wong <normalperson@yhbt.net> | 2008-10-21 14:12:15 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-11-13 22:33:58 -0800 |
commit | 6a004d3f2e531936d6d91324a0610a874f91a867 (patch) | |
tree | 3477250fe88e2432d543953b6b5a1603b1fae649 /ppc | |
parent | 171d7661eda111d3e35f6e8097a1a3a07b30026c (diff) | |
download | git-6a004d3f2e531936d6d91324a0610a874f91a867.tar.gz |
git-svn: don't escape tilde ('~') for http(s) URLs
Thanks to Jose Carlos Garcia Sogo and Björn Steinbrink for the
bug report.
On 2008.10.18 23:39:19 +0200, Björn Steinbrink wrote:
> Hi,
>
> Jose Carlos Garcia Sogo reported on #git that a git-svn clone of this
> svn repo fails for him:
> https://sucs.org/~welshbyte/svn/backuptool/trunk
>
> I can reproduce that here with:
> git-svn version 1.6.0.2.541.g46dc1.dirty (svn 1.5.1)
>
> The error message I get is:
> Apache got a malformed URI: Unusable URI: it does not refer to this
> repository at /usr/local/libexec/git-core/git-svn line 4057
>
> strace revealed that git-svn url-encodes ~ while svn does not do that.
>
> For svn we have:
> write(5, "<S:update-report send-all=\"true\" xmlns:S=\"svn:\">
> <S:src-path>https://sucs.org/~welshbyte/svn/backuptool/trunk</S:src-path>...
>
> While git-svn shows:
> write(7, "<S:update-report send-all=\"true\" xmlns:S=\"svn:\">
> <S:src-path>https://sucs.org/%7Ewelshbyte/svn/backuptool/trunk</S:src-path>...
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 'ppc')
0 files changed, 0 insertions, 0 deletions