0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-09 19:42:09 +01:00
gitea/modules/web
wxiaoguang b41925cee3
Refactor CORS handler (#28587)
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
2023-12-25 20:13:18 +08:00
..
middleware Remove some dead code (#27196) 2023-09-22 23:30:31 +08:00
routing Update tool dependencies (#26607) 2023-08-20 22:59:19 +00:00
types Refactor web package and context package (#25298) 2023-06-18 09:59:09 +02:00
handler.go Refactor web package and context package (#25298) 2023-06-18 09:59:09 +02:00
route.go Refactor CORS handler (#28587) 2023-12-25 20:13:18 +08:00
route_test.go Refactor web route (#24080) 2023-04-20 14:49:06 -04:00
routemock.go Make route middleware/handler mockable (#25766) 2023-07-09 12:25:53 +00:00
routemock_test.go Make route middleware/handler mockable (#25766) 2023-07-09 12:25:53 +00:00