Fix CDA wildcard regexp (#2534)
This commit is contained in:
parent
3d1cc3f499
commit
4a2a786598
|
@ -383,8 +383,8 @@ sub reloadConf {
|
|||
|
||||
# Handle wildcards
|
||||
if ( $vhost =~ /[\%\*]/ ) {
|
||||
$expr =~ s/\\\*/\.*/;
|
||||
$expr =~ s/\\\%/[\^\.]\*/;
|
||||
$expr =~ s/\\\*/[A-Za-z0-9\.]\*/;
|
||||
$expr =~ s/\\\%/[A-Za-z0-9]\*/;
|
||||
}
|
||||
$re->add($expr);
|
||||
$self->logger->debug("Vhost $vhost added in trusted domains");
|
||||
|
|
Loading…
Reference in New Issue
Block a user