chiark / gitweb /
infra: dgit-mirror-ssh-wrap: Fix $package_re
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 13 Sep 2019 17:22:58 +0000 (18:22 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 13 Sep 2019 17:22:58 +0000 (18:22 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
infra/dgit-mirror-ssh-wrap

index 4d0dcc9..3feb6dc 100755 (executable)
@@ -16,7 +16,7 @@ our ($prefix, $suffix) = @ARGV;
 $prefix =~ s/\W/\\$&/g;
 $suffix =~ s/\W/\\$&/g;
 
-my $package = qr{[0-9a-z][-+0-9a-z]*};
+my $package = qr{[0-9a-z][-+.0-9a-z]*};
 my $d = qr{$prefix$package$suffix};
 
 my $command = $ENV{SSH_ORIGINAL_COMMAND}