always check if the csp is empty

This commit is contained in:
Jörn Friedrich Dreyer 2016-01-07 12:52:48 +01:00 committed by Morris Jobke
parent 1ae30d1d9c
commit 047008e9e3
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@
<IfModule mod_version.c>
<IfVersion >= 2.4.7>
# Add CSP header if not set, used for static resources
Header setifempty Content-Security-Policy "default-src 'none'; style-src 'self' 'unsafe-inline'; script-src 'self'"
Header always setifempty Content-Security-Policy "default-src 'none'; style-src 'self' 'unsafe-inline'; script-src 'self'"
</IfVersion>
</IfModule>
</IfModule>