mirror of
https://github.com/tag1consulting/d7_to_d10_migration.git
synced 2025-09-05 16:51:21 +00:00
Update Drupal 7 dependencies
This commit is contained in:
parent
7d902ba1ef
commit
13df912654
391 changed files with 2900 additions and 1502 deletions
|
@ -149,6 +149,13 @@ DirectoryIndex index.php index.html index.htm
|
|||
|
||||
# Various header fixes.
|
||||
<IfModule mod_headers.c>
|
||||
# Disable content sniffing for all responses, since it's an attack vector.
|
||||
# This header is also set in drupal_deliver_html_page(), which depending on
|
||||
# Apache configuration might get placed in the 'onsuccess' table. To prevent
|
||||
# header duplication, unset that one prior to setting in the 'always' table.
|
||||
# See "To circumvent this limitation..." in
|
||||
# https://httpd.apache.org/docs/current/mod/mod_headers.html.
|
||||
Header onsuccess unset X-Content-Type-Options
|
||||
# Disable content sniffing, since it's an attack vector.
|
||||
Header always set X-Content-Type-Options nosniff
|
||||
# Disable Proxy header, since it's an attack vector.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue