From 51a0d16b53abe970acf1918dfffcaa225a65db3a Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Thu, 17 Jun 2021 19:59:38 +0200 Subject: Add .git to forbidden directories --- .htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.htaccess') diff --git a/.htaccess b/.htaccess index bbf32d9..b3203b2 100644 --- a/.htaccess +++ b/.htaccess @@ -23,7 +23,7 @@ ErrorDocument 404 /404.php #=============================================================================== # Forbidden directories #=============================================================================== -RewriteRule ^(core|theme/([^/]+)/(html|lang)/) - [F] +RewriteRule ^(.git|core|theme/([^/]+)/(html|lang)/) - [F] #=============================================================================== # Main rules -- cgit v1.2.3