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

[Fix] Upgrade Addressable gem version to fix URI obsolete warning in ruby 2.7+ #228

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ChristopheNonato
Copy link

"warning: URI.escape is obsolete"
All requests in ruby 2.7 are getting this warning.

The 'new' way of doing it is: URI.encode_www_form_component(url)
but it encodes the http:// as well...
As we already use the Addressable Gem, upgrading to 2.7.0 it is the fastest way to solve the issue.
more info about URI.encode/escape: https://docs.knapsackpro.com/2020/uri-escape-is-obsolete-percent-encoding-your-query-string

@ChristopheNonato
Copy link
Author

Screen Shot 2021-01-03 at 18 24 58

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

Successfully merging this pull request may close these issues.

1 participant