We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 410e99f + f9acaea commit 800d1fbCopy full SHA for 800d1fb
git-cvsserver.perl
@@ -388,7 +388,7 @@ sub req_Directory
388
$state->{localdir} = $data;
389
$state->{repository} = $repository;
390
$state->{path} = $repository;
391
- $state->{path} =~ s/^$state->{CVSROOT}\///;
+ $state->{path} =~ s/^\Q$state->{CVSROOT}\E\///;
392
$state->{module} = $1 if ($state->{path} =~ s/^(.*?)(\/|$)//);
393
$state->{path} .= "/" if ( $state->{path} =~ /\S/ );
394
0 commit comments