summaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2016-02-01 18:48:12 -0500
committerDavid Rothstein <drothstein@gmail.com>2016-02-01 18:48:12 -0500
commitaa755ed3763f5aa442c3a399981b7c5d6590f515 (patch)
tree52d8bcd009ec4cfbc7ba3de599af581cd1e41922 /.htaccess
parentdbef1acd9520dee6c8ee71d7d0f0dd2129cba068 (diff)
downloadbrdo-aa755ed3763f5aa442c3a399981b7c5d6590f515.tar.gz
brdo-aa755ed3763f5aa442c3a399981b7c5d6590f515.tar.bz2
Issue #2392153 by mparker17, hussainweb, chris.smith, alexpott, dawehner: Disallow composer.json and composer.lock from being indexed
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess2
1 files changed, 1 insertions, 1 deletions
diff --git a/.htaccess b/.htaccess
index 151239c11..440cabc6d 100644
--- a/.htaccess
+++ b/.htaccess
@@ -3,7 +3,7 @@
#
# Protect files and directories from prying eyes.
-<FilesMatch "\.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)(~|\.sw[op]|\.bak|\.orig|\.save)?$|^(\..*|Entries.*|Repository|Root|Tag|Template)$|^#.*#$|\.php(~|\.sw[op]|\.bak|\.orig\.save)$">
+<FilesMatch "\.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)(~|\.sw[op]|\.bak|\.orig|\.save)?$|^(\..*|Entries.*|Repository|Root|Tag|Template|composer\.(json|lock))$|^#.*#$|\.php(~|\.sw[op]|\.bak|\.orig\.save)$">
Order allow,deny
</FilesMatch>