From 78dad732e1fd3d4a57f7fa5747624ce0be50d803 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Wed, 4 Aug 2021 00:19:51 +0200 Subject: Add trailing slash to forbidden directory rules --- .htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.htaccess') diff --git a/.htaccess b/.htaccess index e337dde..8acc410 100644 --- a/.htaccess +++ b/.htaccess @@ -27,7 +27,7 @@ RewriteEngine On #=============================================================================== # Forbidden directories #=============================================================================== -RewriteRule ^(.git|core|theme/([^/]+)/(html|lang)/) - [F] +RewriteRule ^(.git|core|theme/([^/]+)/(html|lang))/ - [F] #=============================================================================== # Pass requests to index.php -- cgit v1.2.3