Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Merge requests
!4130
Issue
#3365520
: Update FileSecurity class to copy files from scaffold directory
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Open
Issue
#3365520
: Update FileSecurity class to copy files from scaffold directory
issue/drupal-3365520:3365520-update-filesecurity-class
into
11.x
Overview
0
Commits
1
Pipelines
0
Changes
8
Open
Issue #3365520: Update FileSecurity class to copy files from scaffold directory
Michael Strelan
requested to merge
issue/drupal-3365520:3365520-update-filesecurity-class
into
11.x
Jun 8, 2023
Overview
0
Commits
1
Pipelines
0
Changes
8
0
0
Merge request reports
Compare
11.x
11.x (base)
and
latest version
latest version
8c2dc427
1 commit,
Jun 8, 2023
8 files
+
116
−
192
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
8
composer/Plugin/VendorHardening/scaffold/htaccess
0 → 100644
+
14
−
0
View file @ 8c2dc427
Edit in single-file editor
Open in Web IDE
# Turn off all options we don't need.
Options -Indexes -ExecCGI -Includes -MultiViews
# Set the catch-all handler to prevent scripts from being executed.
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
<Files *>
# Override the handler again if we're run later in the evaluation list.
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003
</Files>
# If we know how to do it safely, disable the PHP engine entirely.
<IfModule mod_php.c>
php_flag engine off
</IfModule>
Loading