Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Update draft release notes for 1.5.5
[gitweb.git]
/
git-svn.perl
diff --git
a/git-svn.perl
b/git-svn.perl
index bba22c1321056f5daa58a6913ccc406850700b25..0c2b791eab3de64a8b642460b4b2b959936cca96 100755
(executable)
--- a/
git-svn.perl
+++ b/
git-svn.perl
@@
-3665,7
+3665,7
@@
sub escape_uri_only {
my ($uri) = @_;
my @tmp;
foreach (split m{/}, $uri) {
- s/([^\w.
-]
)/sprintf("%%%02X",ord($1))/eg;
+ s/([^\w.
%-]|%(?![a-fA-F0-9]{2})
)/sprintf("%%%02X",ord($1))/eg;
push @tmp, $_;
}
join('/', @tmp);