0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-11 09:43:11 +01:00
gitea/modules/hostmatcher
wxiaoguang f67a1030b3
Add tests for the host checking logic, clarify the behaviors (#20328)
Before, the combination of AllowedDomains/BlockedDomains/AllowLocalNetworks is confusing.

This PR adds tests for the logic, clarify the behaviors.
2022-07-13 09:07:16 +08:00
..
hostmatcher.go Add tests for the host checking logic, clarify the behaviors (#20328) 2022-07-13 09:07:16 +08:00
hostmatcher_test.go Support hostname:port to pass host matcher's check #19543 (#19543) 2022-04-29 01:39:50 +08:00
http.go Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00