diff --git a/.htaccess b/.htaccess index c32b182..d9f0989 100644 --- a/.htaccess +++ b/.htaccess @@ -3,7 +3,7 @@ # # Protect files and directories from prying eyes. - + Require all denied diff --git a/core/modules/system/src/Tests/System/HtaccessTest.php b/core/modules/system/src/Tests/System/HtaccessTest.php new file mode 100644 index 0000000..4f03f04 --- /dev/null +++ b/core/modules/system/src/Tests/System/HtaccessTest.php @@ -0,0 +1,29 @@ +drupalGet('core/core.services.yml'); + $this->assertResponse(403); + } + +}