1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-11 11:28:02 -05:00
forgejo/docs/content
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
..
administration Refactor CORS handler (#28587) (#28611) 2024-01-16 14:08:38 +00:00
contributing Use fetch helpers instead of fetch (#27026) 2023-09-19 00:50:30 +00:00
development Fix links in docs (#28302) (#28418) 2023-12-12 15:21:33 +01:00
help Fix documents for "custom/public/assets/" (#28465) (#28467) 2023-12-22 12:05:11 +01:00
installation Fix links in docs (#28302) (#28418) 2023-12-12 15:21:33 +01:00
usage Update actions document about comparsion as Github Actions (#28560) (#28564) 2023-12-22 12:10:03 +01:00
actions.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
administration.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
administration.fr-fr.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
administration.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
administration.zh-tw.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
contributing.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
contributing.fr-fr.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
contributing.zh-tw.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
development.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
development.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
development.zh-tw.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
help.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
help.fr-fr.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
help.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
help.zh-tw.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
index.de-de.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
index.en-us.md Update index doc (#26455) 2023-08-12 00:49:23 +00:00
index.fr-fr.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
index.zh-cn.md Update zh-cn documentation (#26406) 2023-08-14 01:35:49 -04:00
index.zh-tw.md Update index doc (#26455) 2023-08-12 00:49:23 +00:00
installation.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
installation.fr-fr.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
installation.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
installation.zh-tw.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
packages.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
search.de-de.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
search.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
search.fr-fr.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
search.nl-nl.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
search.pt-br.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
search.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
search.zh-tw.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
usage.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
usage.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
usage.zh-tw.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00