0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-26 09:24:07 -05:00
forgejo/routers/api/v1
wxiaoguang 013fb73068
Use hostmatcher to replace matchlist, improve security (#17605)
Use hostmacher to replace matchlist.

And we introduce a better DialContext to do a full host/IP check, otherwise the attackers can still bypass the allow/block list by a 302 redirection.
2021-11-20 17:34:05 +08:00
..
admin Use a standalone struct name for Organization (#17632) 2021-11-19 19:41:40 +08:00
misc Add nodeinfo endpoint for federation purposes (#16953) 2021-09-28 01:38:06 +02:00
notify Fix 500 when a comment was deleted which has a notification (#17550) 2021-11-10 13:48:45 +08:00
org Use a standalone struct name for Organization (#17632) 2021-11-19 19:41:40 +08:00
repo Use hostmatcher to replace matchlist, improve security (#17605) 2021-11-20 17:34:05 +08:00
settings Make mirror feature more configurable (#16957) 2021-09-07 17:49:36 +02:00
swagger Add API to get/edit wiki (#17278) 2021-10-25 11:43:40 +08:00
user Use a standalone struct name for Organization (#17632) 2021-11-19 19:41:40 +08:00
utils Use a standalone struct name for Organization (#17632) 2021-11-19 19:41:40 +08:00
api.go Allow Token API calls be authorized using the reverse-proxy header (#15119) 2021-11-19 22:54:44 +08:00