Skip to content

Commit

Permalink
Fixing issue where ini app config file could be exposed
Browse files Browse the repository at this point in the history
  • Loading branch information
bszyman committed Mar 27, 2022
1 parent 2465a86 commit e363e15
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,8 @@ RewriteRule ^bookmarks/?$ /bookmarks.php
RewriteRule ^following/?$ /following.php
RewriteRule ^/$ /index.php

<FilesMatch "\.(?:ini)$">
Order allow,deny
Deny from all
</FilesMatch>

0 comments on commit e363e15

Please sign in to comment.