From bdd594da0c9194bb4e759494031488c828452101 Mon Sep 17 00:00:00 2001 From: Anaggh Sreenath Date: Tue, 26 Jan 2016 19:11:31 +0530 Subject: [PATCH] Fix Security issue Deny access to bl-content directory txt files instead of content directory txt files. --- .htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess index 5a85c80c..912ffa81 100644 --- a/.htaccess +++ b/.htaccess @@ -6,7 +6,7 @@ AddDefaultCharset UTF-8 RewriteEngine on # Deny direct access to .txt files -RewriteRule ^content/(.*)\.txt$ - [R=404,L] +RewriteRule ^bl-content/(.*)\.txt$ - [R=404,L] # All URL process by index.php RewriteCond %{REQUEST_FILENAME} !-f