Skip to main content

Module csp

Module csp 

Source

Functionsยง

build_csp_header
Build a strict Content-Security-Policy header value.
generate_csp_nonce
Generate a cryptographically random CSP nonce (base64, 44 chars).