diff --git a/.htaccess b/.htaccess index afd4cab3..71c5a9f9 100644 --- a/.htaccess +++ b/.htaccess @@ -15,6 +15,8 @@ ErrorDocument 500 /assets/error-500.html RedirectMatch 403 /silverstripe-cache(/|$) + RedirectMatch 403 /vendor(/|$) + RedirectMatch 403 /composer\.(json|lock) diff --git a/composer.json b/composer.json index 467ca6a1..400e90d1 100644 --- a/composer.json +++ b/composer.json @@ -14,4 +14,4 @@ "phpunit/phpunit": "3.7.*" }, "minimum-stability": "dev" -} +} \ No newline at end of file diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 2bb3c876..1232b66d 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -25,7 +25,7 @@ - + sanitychecks diff --git a/web.config b/web.config index a04afa1c..1d956b52 100644 --- a/web.config +++ b/web.config @@ -1,5 +1,17 @@ - + + + + + + + + + + + + + \ No newline at end of file