Flowdock
method

unescape_uri

Importance_0
v5.2.3 - 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 61
          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.