Allow iframe from portal to be able to load saml SLO return page (#1671)

This commit is contained in:
Clément OUDOT 2019-04-01 18:09:31 +02:00
parent 5a30a82fa6
commit 4af47ad6a4

View File

@ -833,7 +833,7 @@ sub sendHtml {
( $req->info =~ /<iframe.*?src="(.*?)"/sg );
}
if (@url) {
$csp .= join( ' ', 'child-src', @url ) . ';';
$csp .= join( ' ', 'child-src', @url, "'self'" ) . ';';
}
# Set CSP header