Skip to content

Commit

Permalink
Fix Security issue
Browse files Browse the repository at this point in the history
Deny access to bl-content directory txt files instead of content
directory txt files.
  • Loading branch information
jadeops committed Jan 26, 2016
1 parent a2740a8 commit bdd594d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bdd594d

Please sign in to comment.