]> git.mxchange.org Git - friendica.git/commitdiff
only deny files ending in ~
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Wed, 16 Mar 2022 18:54:43 +0000 (19:54 +0100)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Wed, 16 Mar 2022 18:54:43 +0000 (19:54 +0100)
.htaccess-dist

index c86b81b889d128cc321978f8f90643d2bfef2d3f..404137168afd8a4f04943eacbf43b0d5293c9222 100644 (file)
@@ -19,7 +19,7 @@ AddType audio/ogg .oga
 </FilesMatch>
 
 # deny access to backup files
-<FilesMatch "(~|\.bak|\.swp)$">
+<FilesMatch "(\~|\.bak|\.swp)$">
   <IfModule authz_host_module>
     #Apache 2.4
     Require all denied