method

unescape_uri

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: UriEncoder
unescape_uri(uri) public

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/journey/router/utils.rb, line 63
          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
Register or log in to add new notes.