Thread (3 messages) flat view 3 messages, 3 authors, 2016-06-15

Re: [PATCH] git-svn: don't escape tilde ('~') for http(s) URLs

From: Mike Hommey <hidden>
Date: 2016-06-15 22:45:31

On Tue, Oct 21, 2008 at 02:53:28PM -0700, Junio C Hamano wrote:
Eric Wong [off-list ref] writes:
quoted
quoted
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>...
This looks like an XML based request sequence to me (and svn is talking
WebDAV here, right?);
XML based would be &126;, not %7E.
Anyways, aren't there ready-to-use url quoting functions in perl ?

Mike
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help