1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/routers/web
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 Move user/org deletion to services (#17673) 2021-11-19 01:42:27 +08:00
dev Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
events Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
explore Move unit into models/unit/ (#17576) 2021-11-09 20:57:58 +01:00
feed Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00: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
user Use a standalone struct name for Organization (#17632) 2021-11-19 19:41:40 +08:00
base.go Fix nil checking on typed interface (#17598) 2021-11-15 21:16:11 +08:00
goget.go A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
home.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
metrics.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
nodeinfo.go Add nodeinfo endpoint for federation purposes (#16953) 2021-09-28 01:38:06 +02:00
swagger_json.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
web.go A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00