[GITEA] add /.well-known/security.txt endpoint

resolves #38
adds RFC 9116 machine parsable
File Format to Aid in Security Vulnerability Disclosure

(cherry picked from commit 8ab1f8375c)
(cherry picked from commit 8f04f0e288)
(cherry picked from commit 5ced68a7a0)
(cherry picked from commit 437c5dd749)

Conflicts:
     52fb936773 Serve pre-defined files in "public", add "security.txt", add CORS header for ".well-known" (#25974)
(cherry picked from commit 03715f8469)
This commit is contained in:
Alex Syrnikov 2023-06-27 03:43:33 +03:00 committed by Earl Warren
parent bef38ce382
commit cb3f413bd2
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -1,6 +1,5 @@
# This site is running a Gitea instance. Contact: https://codeberg.org/forgejo/forgejo/src/branch/forgejo/CONTRIBUTING.md
# Gitea related security problems could be reported to Gitea community. Contact: mailto:security@forgejo.org
# Site related security problems should be reported to this site's admin. Expires: 2025-06-25T00:00:00Z
Contact: https://github.com/go-gitea/gitea/blob/main/SECURITY.md Policy: https://codeberg.org/forgejo/forgejo/src/branch/forgejo/CONTRIBUTING.md
Policy: https://github.com/go-gitea/gitea/blob/main/SECURITY.md
Preferred-Languages: en Preferred-Languages: en