Skip to content

Change URI.encode to URI.encode_www_form_component.#21

Open
peret wants to merge 1 commit into
phusion:masterfrom
playtestcloud:fix-uri-escape-deprecation
Open

Change URI.encode to URI.encode_www_form_component.#21
peret wants to merge 1 commit into
phusion:masterfrom
playtestcloud:fix-uri-escape-deprecation

Conversation

@peret

@peret peret commented Feb 14, 2022

Copy link
Copy Markdown

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
Copy Markdown
Contributor

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

@eserra

eserra commented Jul 20, 2023

Copy link
Copy Markdown

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