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

Support for Ruby 3.0.6, replace URI::escape with CGI:escape #3

Open
tiinapennala opened this issue Mar 25, 2024 · 0 comments
Open

Support for Ruby 3.0.6, replace URI::escape with CGI:escape #3

tiinapennala opened this issue Mar 25, 2024 · 0 comments

Comments

@tiinapennala
Copy link

tiinapennala commented Mar 25, 2024

In view helper URI::escape has been used, which leads to error "undefined method `escape' for URI:Module".

source = URI::escape(source)

This has been removed: ruby/uri@61c6a47
More references also here:
ruby/uri#14

The gem works with monkey patching the:

source = URI::escape(source)

with

source = CGI.escape(source)

Could there be a possibility for a fix?

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

No branches or pull requests

1 participant