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

Change URI.encode to URI.encode_www_form_component. #21

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

Conversation

peret
Copy link

@peret peret commented Feb 14, 2022

This fixes a deprecation warning in Ruby 2.7 and NoMethodError in Ruby 3.

URI.encode has been deprecated/removed in Ruby versions >= 2.7 and needs to be replaced with one of the other available methods.

This fixes a deprecation warning in Ruby 2.7 and NoMethodError in Ruby 3.
@panozzaj
Copy link

+1 for this change, ran into this since we are on Ruby 3 and started using the query params for one query.

@eserra
Copy link

eserra commented Jul 20, 2023

Anyone interested in merging this change?

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.

3 participants