End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
URI.decode_www_form_component
decode_www_form_component(str, enc=Encoding::UTF_8)
lib/uri/common.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/uri/common.rb, line 337
def self.decode_www_form_component(str, enc=Encoding::UTF_8)
_decode_uri_component(/\+|%\h\h/, str, enc)
end
Decodes given str of URL-encoded form data.
This decodes + to SP.
See also
.decode_www_form
._encode_uri_component
.decode_uri_component
.encode_uri_component
also in
4.1 · 4.0 · 3.4 · 3.3 · 3.1 · 3.0