Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roundcube/roundcubemail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2021-02-15 13:39:36 +0300
committerAleksander Machniak <alec@alec.pl>2021-02-15 13:40:02 +0300
commitfa8a73e0d1ae96abeab4fe46295d56f4d4161f0c (patch)
tree0be4103052d3141fbaf2498f6a237b910e6773df /.htaccess
parent277e66b2acddb697fb6394988b55e65c77cdaf23 (diff)
Deny access to SECURITY.md and .ci
[skip ci]
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess4
1 files changed, 2 insertions, 2 deletions
diff --git a/.htaccess b/.htaccess
index 3c4e5dfd4..ae3e35867 100644
--- a/.htaccess
+++ b/.htaccess
@@ -10,9 +10,9 @@ RewriteRule ^favicon\.ico$ skins/larry/images/favicon.ico
# in all locations except installer directory
RewriteRule ^(?!installer|\.well-known\/|[a-zA-Z0-9]{16})(\.?[^\.]+)$ - [F]
# - deny access to some locations
-RewriteRule ^/?(\.git|\.tx|SQL|bin|config|logs|temp|tests|vendor|program\/(include|lib|localization|steps)) - [F]
+RewriteRule ^/?(\.git|\.tx|\.ci|SQL|bin|config|logs|temp|tests|vendor|program\/(include|lib|localization|steps)) - [F]
# - deny access to some documentation files
-RewriteRule /?(README.*|meta\.json|composer\..*|jsdeps.json)$ - [F]
+RewriteRule /?(README.*|SECURITY.*|meta\.json|composer\..*|jsdeps.json)$ - [F]
</IfModule>
<IfModule mod_deflate.c>