diff --git a/src/gl-auth-command b/src/gl-auth-command index 8344435..012398f 100755 --- a/src/gl-auth-command +++ b/src/gl-auth-command @@ -42,7 +42,7 @@ die "couldnt do perms file" unless (my $ret = do $GL_CONF_COMPILED); # definitions specific to this program # ---------------------------------------------------------------------------- -my $R_COMMANDS=qr/^git[ -]upload-pack$/; +my $R_COMMANDS=qr/^(git[ -]upload-pack|git[ -]upload-archive)$/; my $W_COMMANDS=qr/^git[ -]receive-pack$/; my $REPONAME_PATT=qr(^[0-9a-zA-Z][0-9a-zA-Z._/-]*$); # very simple pattern