Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MINOR Disallowing more potentially active file extensions in cms/.hta…

…ccess

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@108206 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
commit 57ebfb9b24e9f33bad45ccaeb692164b4491882a 1 parent 473347d
@chillu chillu authored sminnee committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 .htaccess
View
4 .htaccess
@@ -1,3 +1,3 @@
-<Files *.php>
+<FilesMatch "\.(php|php3|php4|php5|phtml|inc)$">
Deny from all
-</Files>
+</FilesMatch>
Please sign in to comment.
Something went wrong with that request. Please try again.