summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Olheiser <42128690+jolheiser@users.noreply.github.com>2019-11-13 14:22:09 -0600
committerzeripath <art27@cantab.net>2019-11-13 20:22:09 +0000
commitb41f303ae0f66f5ba2a19be001037067b7e1ccc7 (patch)
treee832b257dbbeb864b85449b7f94ebbbbc6d7fa02
parent8282f262509587088277ea5d5981eacfcf81cc60 (diff)
downloadgitea-b41f303ae0f66f5ba2a19be001037067b7e1ccc7.tar.gz
gitea-b41f303ae0f66f5ba2a19be001037067b7e1ccc7.zip
Add CDNJS to script-src CSP (#8966)
-rw-r--r--docs/static/_headers2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/static/_headers b/docs/static/_headers
index a5de17226e..b1f7453c5d 100644
--- a/docs/static/_headers
+++ b/docs/static/_headers
@@ -1,5 +1,5 @@
/*
- Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' https://fonts.googleapis.com https://cdnjs.cloudflare.com; font-src 'self' data: https://cdnjs.cloudflare.com https://fonts.gstatic.com
+ Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-inline' https://cdnjs.cloudflare.com; style-src 'self' https://fonts.googleapis.com https://cdnjs.cloudflare.com; font-src 'self' data: https://cdnjs.cloudflare.com https://fonts.gstatic.com
X-Frame-Options: DENY
X-Xss-Protection: 1; mode=block
X-Content-Type-Options: nosniff