Loading .htaccess +5 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,11 @@ AddEncoding gzip svgz php_value assert.active 0 </IfModule> # PHP 8, Apache 1 and 2. <IfModule mod_php.c> php_value assert.active 0 </IfModule> # Requires mod_expires to be enabled. <IfModule mod_expires.c> # Enable expirations. Loading composer/Plugin/VendorHardening/FileSecurity.php +3 −0 Original line number Diff line number Diff line Loading @@ -77,6 +77,9 @@ protected static function htaccessPreventExecution() { <IfModule mod_php7.c> php_flag engine off </IfModule> <IfModule mod_php.c> php_flag engine off </IfModule> EOF; } Loading core/assets/scaffold/files/htaccess +5 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,11 @@ AddEncoding gzip svgz php_value assert.active 0 </IfModule> # PHP 8, Apache 1 and 2. <IfModule mod_php.c> php_value assert.active 0 </IfModule> # Requires mod_expires to be enabled. <IfModule mod_expires.c> # Enable expirations. Loading core/lib/Drupal/Component/FileSecurity/FileSecurity.php +3 −0 Original line number Diff line number Diff line Loading @@ -75,6 +75,9 @@ protected static function htaccessPreventExecution() { <IfModule mod_php7.c> php_flag engine off </IfModule> <IfModule mod_php.c> php_flag engine off </IfModule> EOF; } Loading Loading
.htaccess +5 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,11 @@ AddEncoding gzip svgz php_value assert.active 0 </IfModule> # PHP 8, Apache 1 and 2. <IfModule mod_php.c> php_value assert.active 0 </IfModule> # Requires mod_expires to be enabled. <IfModule mod_expires.c> # Enable expirations. Loading
composer/Plugin/VendorHardening/FileSecurity.php +3 −0 Original line number Diff line number Diff line Loading @@ -77,6 +77,9 @@ protected static function htaccessPreventExecution() { <IfModule mod_php7.c> php_flag engine off </IfModule> <IfModule mod_php.c> php_flag engine off </IfModule> EOF; } Loading
core/assets/scaffold/files/htaccess +5 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,11 @@ AddEncoding gzip svgz php_value assert.active 0 </IfModule> # PHP 8, Apache 1 and 2. <IfModule mod_php.c> php_value assert.active 0 </IfModule> # Requires mod_expires to be enabled. <IfModule mod_expires.c> # Enable expirations. Loading
core/lib/Drupal/Component/FileSecurity/FileSecurity.php +3 −0 Original line number Diff line number Diff line Loading @@ -75,6 +75,9 @@ protected static function htaccessPreventExecution() { <IfModule mod_php7.c> php_flag engine off </IfModule> <IfModule mod_php.c> php_flag engine off </IfModule> EOF; } Loading