]> source.dussan.org Git - gitea.git/commitdiff
Add CDNJS to script-src CSP (#8966)
authorJohn Olheiser <42128690+jolheiser@users.noreply.github.com>
Wed, 13 Nov 2019 20:22:09 +0000 (14:22 -0600)
committerzeripath <art27@cantab.net>
Wed, 13 Nov 2019 20:22:09 +0000 (20:22 +0000)
docs/static/_headers

index a5de17226e9fff45561ec0747791506df47252a4..b1f7453c5da4ae4ce1e73073fb1e320e6dece074 100644 (file)
@@ -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