1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-15 06:04:32 -04: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_test.go
hostmatcher.go Add tests for the host checking logic, clarify the behaviors (#20328) 2022-07-13 09:07:16 +08:00
http.go