Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URI.escape is obsolete warnings #37

Open
mattsly opened this issue Apr 28, 2021 · 1 comment
Open

URI.escape is obsolete warnings #37

mattsly opened this issue Apr 28, 2021 · 1 comment

Comments

@mattsly
Copy link

mattsly commented Apr 28, 2021

/app/vendor/bundle/ruby/2.7.0/gems/gabba-1.0.1/lib/gabba/gabba.rb:350: warning: URI.escape is obsolete

Looks like many libraries are dealing with this! Here's one approach to changing this:
https://github.com/contentful/contentful.rb/pull/221/files

Spoiler alert - use:
URI.encode_www_form_component(string)

@epugh
Copy link

epugh commented Dec 6, 2022

Just ran into this problem myself... I think it's finally time to move on ;-) Gabba has been great...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants