Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-svn: fix cloning of HTTP URLs with '+' in their path
[gitweb.git]
/
git-svn.perl
diff --git
a/git-svn.perl
b/git-svn.perl
index e47b1ea6c1c19d3b5b9bf26ecbf6b0a0f32d08d6..413e0b1db6a45bbb5d3635f6af64d865580a13ab 100755
(executable)
--- a/
git-svn.perl
+++ b/
git-svn.perl
@@
-3673,7
+3673,7
@@
sub escape_uri_only {
my ($uri) = @_;
my @tmp;
foreach (split m{/}, $uri) {
- s/([^\w.%-]|%(?![a-fA-F0-9]{2}))/sprintf("%%%02X",ord($1))/eg;
+ s/([^\w.%
+
-]|%(?![a-fA-F0-9]{2}))/sprintf("%%%02X",ord($1))/eg;
push @tmp, $_;
}
join('/', @tmp);