We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 28f04f3 + cc30462 commit a8033dfCopy full SHA for a8033df
perl/Git/SVN/Editor.pm
@@ -145,7 +145,8 @@ sub repo_path {
145
sub url_path {
146
my ($self, $path) = @_;
147
if ($self->{url} =~ m#^https?://#) {
148
- $path =~ s!([^~a-zA-Z0-9_./-])!uc sprintf("%%%02x",ord($1))!eg;
+ # characters are taken from subversion/libsvn_subr/path.c
149
+ $path =~ s#([^~a-zA-Z0-9_./!$&'()*+,-])#uc sprintf("%%%02x",ord($1))#eg;
150
}
151
$self->{url} . '/' . $self->repo_path($path);
152
0 commit comments