Commit 4af47ad6 authored by Clément OUDOT's avatar Clément OUDOT

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

parent 5a30a82f
......@@ -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
......
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