Skip to content

Replace URI.encode/decode with URI::Parser.escape/unescape#3

Open
mkerley wants to merge 1 commit into
dohliam:masterfrom
mkerley:uri_parser_escape_unescape
Open

Replace URI.encode/decode with URI::Parser.escape/unescape#3
mkerley wants to merge 1 commit into
dohliam:masterfrom
mkerley:uri_parser_escape_unescape

Conversation

@mkerley

@mkerley mkerley commented Nov 14, 2022

Copy link
Copy Markdown

Fix for undefined method `encode' for URI:Module #2

This worked for my site, and the repo's demo site. It may not work for all URIs. Based on this thread:
https://stackoverflow.com/questions/65423458/ruby-2-7-says-uri-escape-is-obsolete-what-replaces-it

Thanks @dohliam for making this tool!

@beneon

beneon commented Dec 6, 2022

Copy link
Copy Markdown

This really works!!!!

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.

2 participants