forgejo/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
handler.go
route.go Refactor CORS handler (#28587) 2023-12-25 20:13:18 +08:00
route_test.go
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