Skip to content

Commit 84149ec

Browse files
authored
Update ContentSecurityPolicy.php
nonce=value -> nonce="value"
1 parent 9ea1f48 commit 84149ec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

system/HTTP/ContentSecurityPolicy.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ protected function generateNonces(ResponseInterface &$response)
683683

684684
$this->styleSrc[] = 'nonce-' . $nonce;
685685

686-
return "nonce={$nonce}";
686+
return "nonce=\"{$nonce}\"";
687687
}, $body
688688
);
689689

@@ -694,7 +694,7 @@ protected function generateNonces(ResponseInterface &$response)
694694

695695
$this->scriptSrc[] = 'nonce-' . $nonce;
696696

697-
return "nonce={$nonce}";
697+
return "nonce=\"{$nonce}\"";
698698
}, $body
699699
);
700700

0 commit comments

Comments
 (0)