Fix function comment for setting content-security-policies
This commit is contained in:
parent
6a7b8bd8fd
commit
7c02bbb8ad
|
@ -134,8 +134,8 @@ final class MD_STD_SEC {
|
||||||
/**
|
/**
|
||||||
* Send CSP headers.
|
* Send CSP headers.
|
||||||
*
|
*
|
||||||
* @param array{default-src: string, connect-src: string, script-src: string, img-src: string, media-src: string, style-src: string, frame-src: string, object-src: string, base-uri: string, form-action: string, frame-ancestors?: string} $directives Directives to send. Font source is always set to 'self', and hence excluded.
|
* @param array{default-src: string, connect-src: string, script-src: string, img-src: string, media-src: string, style-src: string, frame-src: string, object-src: string, base-uri: string, form-action: string, worker-src?: string, frame-ancestors?: string} $directives Directives to send. Font source is always set to 'self', and hence excluded.
|
||||||
* @param string $frame_ancestors Frame ancestors directive. Default is to not set it.
|
* @param string $frame_ancestors Frame ancestors directive. Default is to not set it.
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user