diff options
author | David Rothstein <drothstein@gmail.com> | 2016-02-01 18:48:12 -0500 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2016-02-01 18:48:12 -0500 |
commit | aa755ed3763f5aa442c3a399981b7c5d6590f515 (patch) | |
tree | 52d8bcd009ec4cfbc7ba3de599af581cd1e41922 /.htaccess | |
parent | dbef1acd9520dee6c8ee71d7d0f0dd2129cba068 (diff) | |
download | brdo-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-- | .htaccess | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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> |