summaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2016-01-08 11:31:42 +0100
committerLukas Reschke <lukas@owncloud.com>2016-01-08 11:31:42 +0100
commit28165876fcf5c23075711b4636f749d60712739c (patch)
tree6f4f523056daa47df245761556321f5e119decdd /.htaccess
parent48ae3997d46b1f5393a79499a6520cdf7d0881e1 (diff)
downloadnextcloud-server-28165876fcf5c23075711b4636f749d60712739c.tar.gz
nextcloud-server-28165876fcf5c23075711b4636f749d60712739c.zip
Remove CSP stuff from .htaccess
:cry: Seems like Apache is inconsistent fun between versions. Let's remove it thus for now.
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess7
1 files changed, 0 insertions, 7 deletions
diff --git a/.htaccess b/.htaccess
index b4c7eee9312..d86ed7162d8 100644
--- a/.htaccess
+++ b/.htaccess
@@ -13,13 +13,6 @@
Header set X-Robots-Tag "none"
Header set X-Frame-Options "SAMEORIGIN"
SetEnv modHeadersAvailable true
-
- <IfModule mod_version.c>
- <IfVersion >= 2.4.7>
- # Add CSP header if not set, used for static resources
- Header always setifempty Content-Security-Policy "default-src 'none'; style-src 'self' 'unsafe-inline'; script-src 'self'"
- </IfVersion>
- </IfModule>
</IfModule>
# Add cache control for CSS and JS files