class ActionDispatch::Journey::Router::Utils::UriEncoder
def unescape_uri(uri)
Experimental RBS support (using type sampling data from the type_fusion
project).
def unescape_uri: (String uri) -> String
This signature was generated using 4 samples from 1 application.
def unescape_uri(uri) encoding = uri.encoding == US_ASCII ? UTF_8 : uri.encoding uri.gsub(ESCAPED) { |match| [match[1, 2].hex].pack("C") }.force_encoding(encoding) end