Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed issue #16859: Survey list navigator in homle page broke with Mu…
…ltiviews (#1667)

Dev: disable Multiviews via htaccess
  • Loading branch information
Shnoulle committed Jan 15, 2021
1 parent e3c517f commit 3198576
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .htaccess
Expand Up @@ -21,8 +21,13 @@ RedirectMatch 403 ^/(?!\.well-known/)(.*/)?\.+

# XSS protection
<IfModule mod_headers.c>
Header set X-XSS-Protection "1; mode=block"
Header set X-XSS-Protection "1; mode=block"
<FilesMatch "\.(svgz?)$">
Header set Content-Security-Policy "default-src 'none'; frame-ancestors 'none'; style-src 'self' 'unsafe-inline'"
</FilesMatch>
</IfModule>

# Disable Multiviews (issue #16859)
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>

0 comments on commit 3198576

Please sign in to comment.