class ActionDispatch::HostAuthorization::Permissions

def extract_hostname(host)

def extract_hostname(host)
  host.slice(VALID_IP_HOSTNAME, "host") || host
end