]> 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:15:07 +0000 (20:15 +0200)
committerFrédéric Buclin <LpSolit@gmail.com>
Thu, 30 Aug 2012 18:15:07 +0000 (20:15 +0200)
r=glob a=LpSolit

.htaccess

index 27f478afdaf91f033717a0a9f786c0340dd263f2..3b464a475bba3ce362dc11c1067efb056476052c 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>