switch to single quotes
parent
b1cc0c2b82
commit
1f3da476b8
|
@ -37,12 +37,12 @@ function noCacheHeaders() {
|
||||||
|
|
||||||
function CSPHeaders($view, $nonce) {
|
function CSPHeaders($view, $nonce) {
|
||||||
switch ($view) {
|
switch ($view) {
|
||||||
case "bandwidth":
|
case 'bandwidth':
|
||||||
case "function":
|
case 'function':
|
||||||
case "log":
|
case 'log':
|
||||||
case "logout":
|
case 'logout':
|
||||||
case "options":
|
case 'options':
|
||||||
case "version": {
|
case 'version': {
|
||||||
// Enforce script-src on pages where inline scripts and event handlers have been fixed.
|
// Enforce script-src on pages where inline scripts and event handlers have been fixed.
|
||||||
// 'unsafe-inline' is only for backwards compatibility with browsers which
|
// 'unsafe-inline' is only for backwards compatibility with browsers which
|
||||||
// only support CSP 1 (with no nonce-* support).
|
// only support CSP 1 (with no nonce-* support).
|
||||||
|
|
Loading…
Reference in New Issue