Module: ActionDispatch::Journey::Router::Utils::UriEscape

Defined in:
actionpack/lib/action_dispatch/journey/router/utils.rb

Overview

URI path and fragment escaping tools.ietf.org/html/rfc3986

Constant Summary collapse

UNSAFE_SEGMENT =
Regexp.new("[^#{safe_segment}]", false).freeze
UNSAFE_FRAGMENT =
Regexp.new("[^#{safe_fragment}]", false).freeze