mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
commit
9bb7a52287
@ -639,6 +639,9 @@ class Response extends Message implements ResponseInterface
|
||||
if ($this->CSPEnabled === true)
|
||||
{
|
||||
$this->CSP->finalize($this);
|
||||
}else{
|
||||
|
||||
$this->body = str_replace(['{csp-style-nonce}','{csp-script-nonce}'], '', $this->body);
|
||||
}
|
||||
|
||||
$this->sendHeaders();
|
||||
|
Loading…
x
Reference in New Issue
Block a user