method

unescape_uri

Importance_0
v4.2.1 - 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 56
          def unescape_uri(uri)
            encoding = uri.encoding == US_ASCII ? UTF_8 : uri.encoding
            uri.gsub(ESCAPED) { [$&[1, 2].hex].pack('C') }.force_encoding(encoding)
          end
Register or log in to add new notes.