Commit 2816586a authored by Maxime Besson's avatar Maxime Besson
Browse files

Fix regression from 3732cdcc (#2477)

parent 959a4349
Pipeline #14637 passed with stage
in 15 minutes and 25 seconds
......@@ -156,7 +156,7 @@ sub controlUrl {
}
# Unprotected hosts
unless ( $tmp =~ URIRE ) {
if ( $tmp and ( $tmp !~ URIRE ) ) {
$self->userLogger->error("Bad URL $tmp");
delete $req->{urldc};
return PE_BADURL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment