From: Junio C Hamano Date: Wed, 22 Oct 2008 06:24:44 GMT Subject: Re: [PATCH] git-svn: don't escape tilde ('~') for http(s) URLs Message-ID: <7vskqpuoyb.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20081022061325.GC8225@glandium.org> Mike Hommey writes: > On Tue, Oct 21, 2008 at 02:53:28PM -0700, Junio C Hamano wrote: > >> >> For svn we have: >> >> write(5, " >> >> https://sucs.org/~welshbyte/svn/backuptool/trunk... >> >> >> >> While git-svn shows: >> >> write(7, " >> >> https://sucs.org/%7Ewelshbyte/svn/backuptool/trunk... >> >> This looks like an XML based request sequence to me (and svn is talking >> WebDAV here, right?); > > XML based would be &126;, not %7E. Read what you quoted again and realize you are agreeing with me ;-). The former (with "~") is what svn expects, the latter (with %7E) is what git-svn incorrectly threw at the server causing problems. I am wondering the whole %xx escaping thing, which does not seem to match what svn seems to expect. > Anyways, aren't there ready-to-use url quoting functions in perl ? My question is not about correct "url quoting", but if using "url quoting" is correct in this context.