Add ending slash to portal URL if missing (#1455)
This commit is contained in:
parent
0986dcebfb
commit
fc15a9a8f3
|
@ -38,6 +38,14 @@ sub tests {
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
# Check if portal URL is well formated
|
||||||
|
|
||||||
|
portalURL => sub {
|
||||||
|
$conf->{portal} .= '/'
|
||||||
|
unless ( $conf->{portal} =~ /^.*\/$/ );
|
||||||
|
return 1;
|
||||||
|
},
|
||||||
|
|
||||||
# Check if virtual hosts are in the domain
|
# Check if virtual hosts are in the domain
|
||||||
vhostInDomainOrCDA => sub {
|
vhostInDomainOrCDA => sub {
|
||||||
return 1 if ( $conf->{cda} );
|
return 1 if ( $conf->{cda} );
|
||||||
|
|
Loading…
Reference in New Issue
Block a user