summaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2013-03-30 12:02:34 -0400
committerDavid Rothstein <drothstein@gmail.com>2013-03-30 12:02:34 -0400
commita16de0db6608f8cd71ac9da475b4cd3d01600f12 (patch)
treeb2d8ba66af7ce661de015cecb9bc31dd50256b90 /.htaccess
parent0bcf41a3c45f095a5ecb43fa3ec437cab8e68830 (diff)
downloadbrdo-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--.htaccess2
1 files changed, 1 insertions, 1 deletions
diff --git a/.htaccess b/.htaccess
index 5ca1b08bd..8eac0e4a7 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)$|^(\..*|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>