class Rack::Protection::HostAuthorization
def domain_match?(host)
def domain_match?(host) return false if host.nil? return false if host.start_with?(DOT) @domain_hosts.any? { |domain_host| host.match?(domain_host) } end
def domain_match?(host) return false if host.nil? return false if host.start_with?(DOT) @domain_hosts.any? { |domain_host| host.match?(domain_host) } end