You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
1 year ago
..
middleware Remove some dead code (#27196) 1 year ago
routing Update tool dependencies (#26607) 1 year ago
types Refactor web package and context package (#25298) 2 years ago
handler.go Refactor web package and context package (#25298) 2 years ago
route.go Refactor CORS handler (#28587) 1 year ago
route_test.go Refactor web route (#24080) 2 years ago
routemock.go Make route middleware/handler mockable (#25766) 2 years ago
routemock_test.go Make route middleware/handler mockable (#25766) 2 years ago