Suggest improvement for next major version

This commit is contained in:
Maxime Besson 2021-04-22 18:23:43 +02:00
parent 913ebbd556
commit a876d978af

View File

@ -931,6 +931,8 @@ sub sendHtml {
}
# Check if frames need to be embedded
# FIXME: we should use $req->data->{cspChildSrc} anywhere an iframe is
# created in the code, and remove this
my @url;
if ( $req->info ) {
@url = map { s#https?://([^/]+).*#$1#; $_ }