You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/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.
2 years ago
..
hostmatcher.go Add tests for the host checking logic, clarify the behaviors (#20328) 2 years ago
hostmatcher_test.go Support `hostname:port` to pass host matcher's check #19543 (#19543) 2 years ago
http.go Simplify parameter types (#18006) 3 years ago