[ruby-talk:444142] Good URI.escape alternatives

Hi list, I'm working on replacing URI.escape/unescape before moving a project to Ruby 3.x. I was wondering what most of you have used as alernatives and how they have worked for you. AFAIK, these are the options: CGI.escape URI.encode_www_form URI.encode_www_form_component Also, if you have any links to interesting posts, articles, videos about this, do send them through. Thanks! Guilherme anthropologist programmer code-anth.xyz Sent with Proton Mail secure email.

i always use the addressable gem -- - a "be kind whenever possible. it is always possible." -- h.h. the 14th dalai lama On Wed, 22 Feb 2023 at 04:58, Gui Heurich via ruby-talk < ruby-talk@ml.ruby-lang.org> wrote:
Hi list,
I'm working on replacing URI.escape/unescape before moving a project to Ruby 3.x. I was wondering what most of you have used as alernatives and how they have worked for you. AFAIK, these are the options:
CGI.escape URI.encode_www_form URI.encode_www_form_component
Also, if you have any links to interesting posts, articles, videos about this, do send them through.
Thanks! Guilherme
anthropologist programmer code-anth.xyz
Sent with Proton Mail <https://proton.me/> secure email. ______________________________________________ ruby-talk mailing list -- ruby-talk@ml.ruby-lang.org To unsubscribe send an email to ruby-talk-leave@ml.ruby-lang.org ruby-talk info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-talk.ml.ruby-lang.org...
participants (2)
-
ara.t.howard
-
Gui Heurich