pub / serci

Search the web with !keywords
git clone https://https://src.jayvii.de/pub/serci.git
Home | Log | Files | Exports | Refs | README | RSS

commit 89e9f8b7af49eaad4faab5b2e59a1c1ffae8182f
parent 53cbaab571bcb53b29d2eced7010ecbda8dad696
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Fri, 18 Oct 2024 14:02:56 +0200

fix: disallow access to .gitignore file

Diffstat:
M.htaccess | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.htaccess b/.htaccess @@ -14,5 +14,6 @@ RedirectMatch 404 ^/tests/.*$ RedirectMatch 404 ^/LICENSES/.*$ RedirectMatch 404 ^/.reuse/.*$ RedirectMatch 404 ^/.git/.*$ -RedirectMatch 404 ^/README.md$ +RedirectMatch 404 ^/.gitignore$ RedirectMatch 404 ^/.htaccess$ +RedirectMatch 404 ^/README.md$