X-Git-Url: https://git.distorted.org.uk/~mdw/userv-utils/blobdiff_plain/4063cda31f0713f3baacbcee47ff1b4e760145aa..9bbb6177dcbb0b385f35da3fd23f032fa426bc1a:/git-daemon/read-urlmap diff --git a/git-daemon/read-urlmap b/git-daemon/read-urlmap index 0fd760f..696ee65 100644 --- a/git-daemon/read-urlmap +++ b/git-daemon/read-urlmap @@ -34,7 +34,8 @@ fail "no config ??" unless @ARGV; fail "no specpath ??" unless length $specpath; our $uri = "git://$spechost/$specpath"; -our $repo_regexp= '^/*(\\w[-+._0-9A-Za-z]*)$'; # stupid emacs '; + +our $repo_regexp= '^(\\w[-+._0-9A-Za-z]*/?\.git)$'; # stupid emacs '; our $check_export= 0; our ($serve_user, $serve_dir, $serve_repo);