Skip to content
Snippets Groups Projects
Commit e63889ac authored by Till Brehm's avatar Till Brehm
Browse files

Merge branch '6659-probable-bug-on-roundcube-default-content-security-policy' into 'develop'

Resolve "Probable bug on roundcube default Content-Security-Policy"

Closes #6659

See merge request ispconfig/ispconfig3!1901
parents f042d941 4e5caf04
No related branches found
No related tags found
1 merge request!1901Resolve "Probable bug on roundcube default Content-Security-Policy"
Pipeline #14827 passed
...@@ -38,8 +38,8 @@ ...@@ -38,8 +38,8 @@
<IfModule mod_headers.c> <IfModule mod_headers.c>
# ISPConfig 3.1 currently requires unsafe-line for both scripts and styles, as well as unsafe-eval # ISPConfig 3.1 currently requires unsafe-line for both scripts and styles, as well as unsafe-eval
Header set Content-Security-Policy "default-src 'self' 'unsafe-inline' 'unsafe-eval'; img-src 'self' data:; object-src 'none'" Header set Content-Security-Policy "default-src 'self' 'unsafe-inline' 'unsafe-eval'; img-src * data:; object-src 'none'"
<tmpl_var name="ssl_comment">Header set Content-Security-Policy "default-src 'self' 'unsafe-inline' 'unsafe-eval'; img-src 'self' data:; object-src 'none'; upgrade-insecure-requests" <tmpl_var name="ssl_comment">Header set Content-Security-Policy "default-src 'self' 'unsafe-inline' 'unsafe-eval'; img-src 'self' data: *; object-src 'none'; upgrade-insecure-requests"
Header set X-Content-Type-Options: nosniff Header set X-Content-Type-Options: nosniff
Header set X-Frame-Options: SAMEORIGIN Header set X-Frame-Options: SAMEORIGIN
Header set X-XSS-Protection: "1; mode=block" Header set X-XSS-Protection: "1; mode=block"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment