Fix trusted domains regex (#2535)

increase-RDBI-perf
Yadd 4 years ago
parent 0c2c677601
commit 3b8222ae8a
  1. 2
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Init.pm

@ -400,7 +400,7 @@ sub reloadConf {
}
}
my $tmp = 'https?://' . $re->as_string . '(?::\d+)?(?:/|$)';
my $tmp = '^https?://' . $re->as_string . '(?::\d+)?(?:/|$)';
$self->trustedDomainsRe(qr/$tmp/);
}

Loading…
Cancel
Save