(minor) allow a comma in regex pattern for wild repos
This was an oversight. We already allow { and } anyway...
This commit is contained in:
parent
0b68365860
commit
b70cf05b43
|
@ -46,7 +46,7 @@ $W_COMMANDS=qr/^git[ -]receive-pack$/;
|
|||
$REPONAME_PATT=qr(^\@?[0-9a-zA-Z][0-9a-zA-Z._\@/+-]*$);
|
||||
$USERNAME_PATT=qr(^\@?[0-9a-zA-Z][0-9a-zA-Z._\@+-]*$);
|
||||
# same as REPONAME, but used for wildcard repos, allows some common regex metas
|
||||
$REPOPATT_PATT=qr(^\@?[0-9a-zA-Z[][\\^.$|()[\]*+?{}0-9a-zA-Z._\@/-]*$);
|
||||
$REPOPATT_PATT=qr(^\@?[0-9a-zA-Z[][\\^.$|()[\]*+?{}0-9a-zA-Z._\@/,-]*$);
|
||||
|
||||
# ADC commands and arguments must match this pattern
|
||||
$ADC_CMD_ARGS_PATT=qr(^[0-9a-zA-Z._\@/+:-]*$);
|
||||
|
|
Loading…
Reference in a new issue