0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-28 22:34:31 +01:00
gitea/routers/api/v1
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
..
activitypub
admin chore(api): support ignore password if login source type is LDAP for creating user API (#28491) 2023-12-19 02:32:45 +00:00
misc Always enable caches (#28527) 2023-12-19 09:29:05 +00:00
notify Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
org Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
packages
repo Adjust object format interface (#28469) 2023-12-17 11:56:08 +00:00
settings
swagger
user Fix comment permissions (#28213) 2023-11-25 17:21:21 +00:00
utils Improve ObjectFormat interface (#28496) 2023-12-19 07:20:47 +00:00
api.go Refactor CORS handler (#28587) 2023-12-25 20:13:18 +08:00