Skip to content

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

CGI::Escape#unescape

(::string str, ?::encoding encoding) -> ::String
CGI.unescape(string, encoding=@@accept_charset) → string

Returns URL-unescaped string (application/x-www-form-urlencoded).