method
sanitize_regexp
v7.1.3.4 -
Show latest stable
- Class:
ActionDispatch::HostAuthorization::Permissions
sanitize_regexp(host)private
No documentation available.
# File actionpack/lib/action_dispatch/middleware/host_authorization.rb, line 69
def sanitize_regexp(host)
/\A#{host}#{PORT_REGEX}?\z/
end