forgejo/docs/content/administration
wxiaoguang 265cd70bdb
Refactor CORS handler (#28587) (#28611)
Backport #28587, the only conflict is the test file.

The CORS code has been unmaintained for long time, and the behavior is
not correct.

This PR tries to improve it. The key point is written as comment in
code. And add more tests.

Fix #28515
Fix #27642
Fix #17098

(cherry picked from commit 7a2786ca6c)
2024-01-16 14:08:38 +00:00
..
_index.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
_index.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
_index.zh-tw.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
adding-legal-pages.en-us.md Fix documents for "custom/public/assets/" (#28465) (#28467) 2023-12-22 12:05:11 +01:00
adding-legal-pages.zh-cn.md Fix documents for "custom/public/assets/" (#28465) (#28467) 2023-12-22 12:05:11 +01:00
backup-and-restore.en-us.md Update backup instructions to align with archive structure (#26902) 2023-09-05 09:26:12 +08:00
backup-and-restore.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
backup-and-restore.zh-tw.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
cmd-embedded.en-us.md Enable markdownlint no-duplicate-header (#27500) (#27506) 2023-10-07 21:41:41 +08:00
cmd-embedded.zh-cn.md Enable markdownlint no-duplicate-header (#27500) (#27506) 2023-10-07 21:41:41 +08:00
command-line.en-us.md clarify aspects of the dump command (#26887) 2023-09-03 14:44:01 -04:00
command-line.zh-cn.md Expanded minimum RSA Keylength to 3072 (#26604) 2023-08-28 00:53:16 +00:00
config-cheat-sheet.en-us.md Refactor CORS handler (#28587) (#28611) 2024-01-16 14:08:38 +00:00
config-cheat-sheet.zh-cn.md Refactor CORS handler (#28587) (#28611) 2024-01-16 14:08:38 +00:00
customizing-gitea.en-us.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
customizing-gitea.zh-cn.md Fix documents for "custom/public/assets/" (#28465) (#28467) 2023-12-22 12:05:11 +01:00
email-setup.en-us.md Docs: Replace deprecated IS_TLS_ENABLED mailer setting in email setup (#28205) (#28208) 2023-11-26 13:56:50 +01:00
email-setup.zh-cn.md Fix links in docs (#28234) (#28238) 2023-12-08 13:40:59 +01:00
environment-variables.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
environment-variables.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
external-renderers.en-us.md Update documents to fix some links (#26885) 2023-09-03 18:45:20 +00:00
external-renderers.zh-cn.md Fix documents for "custom/public/assets/" (#28465) (#28467) 2023-12-22 12:05:11 +01:00
fail2ban-setup.en-us.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
fail2ban-setup.zh-cn.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
git-lfs-support.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
git-lfs-support.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
https-support.en-us.md Update documents to fix some links (#26885) 2023-09-03 18:45:20 +00:00
https-support.zh-cn.md Fix links in docs (#28302) (#28418) 2023-12-12 15:21:33 +01:00
logging-config.en-us.md Clarify the logger's MODE config option (#26267) 2023-08-01 18:28:23 +00:00
logging-config.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
mail-templates.en-us.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
mail-templates.zh-cn.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
repo-indexer.en-us.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
repo-indexer.zh-cn.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
reverse-proxies.en-us.md Update nginx recommendations (#26924) 2023-09-06 17:49:45 +00:00
reverse-proxies.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
search-engines-indexation.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
search-engines-indexation.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
signing.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
signing.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00