Skip to content

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