Skip to content
Snippets Groups Projects
Commit 8ad7708b authored by Angie Byron's avatar Angie Byron
Browse files

Issue #1907704 by ultimateboy, totten, acrollet, greggles: Restrict temporary...

Issue #1907704 by ultimateboy, totten, acrollet, greggles: Restrict temporary files created by text editors.
parent f945c4cb
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment