Allow iframe from portal to be able to load saml SLO return page (#1671)
This commit is contained in:
parent
5a30a82fa6
commit
4af47ad6a4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user