method

extract_hostname

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: Permissions
extract_hostname(host) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/middleware/host_authorization.rb, line 80
        def extract_hostname(host)
          host.slice(VALID_IP_HOSTNAME, "host") || host
        end
Register or log in to add new notes.