diff options
author | David Rothstein <drothstein@gmail.com> | 2013-03-30 12:02:34 -0400 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2013-03-30 12:02:34 -0400 |
commit | a16de0db6608f8cd71ac9da475b4cd3d01600f12 (patch) | |
tree | b2d8ba66af7ce661de015cecb9bc31dd50256b90 /.htaccess | |
parent | 0bcf41a3c45f095a5ecb43fa3ec437cab8e68830 (diff) | |
download | brdo-a16de0db6608f8cd71ac9da475b4cd3d01600f12.tar.gz brdo-a16de0db6608f8cd71ac9da475b4cd3d01600f12.tar.bz2 |
Issue #1907704 by acrollet, ultimateboy, totten: Restrict temporary files created by text editors.
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)$|^(\..*|Entries.*|Repository|Root|Tag|Template)$"> +<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)$"> Order allow,deny </FilesMatch> |