]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 785522: [SECURITY] Block access to templates in extensions/
authorFrédéric Buclin <LpSolit@gmail.com>
Thu, 30 Aug 2012 18:18:44 +0000 (20:18 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Thu, 30 Aug 2012 18:18:44 +0000 (20:18 +0200)
r=glob a=LpSolit

.htaccess

index 4b06fe9a9c1ad68343cb20b953c132f5f4249397..c16ee19af000dfa344c545ca58ca510fa2c4232b 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -1,5 +1,5 @@
 # Don't allow people to retrieve non-cgi executable files or our private data
-<FilesMatch ^(.*\.pm|.*\.pl|.*localconfig.*)$>
+<FilesMatch (\.pm|\.pl|\.tmpl|localconfig.*)$>
   deny from all
 </FilesMatch>
 <IfModule mod_expires.c>