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

Defined in:
lib/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, 'N').freeze
UNSAFE_FRAGMENT =
Regexp.new("[^#{safe_fragment}]", false, 'N').freeze