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

Handle invalid encoding in the pure ruby version of CGI.escapeHTML and CGI.unescapeHTML #4

Merged

Conversation

jeremyevans
Copy link
Contributor

This takes @ahorek's patch from #2 and adds the test requested in #2.

Fixes #2.

ahorek and others added 2 commits February 25, 2021 09:24
…y version

Also, remove pointless assert_nothing_raised(ArgumentError) while
here.
@jeremyevans jeremyevans merged commit c05edf5 into ruby:master Feb 25, 2021
@headius
Copy link

headius commented Sep 23, 2021

Has this change been released yet? We are trying to update JRuby's Ruby 3.0 standard library but the most current released cgi gem does not appear to have this change. If we ship with the released 0.2.0 gem we will regress on these cases.

cc @ahorek

@ahorek
Copy link
Contributor

ahorek commented Sep 23, 2021

these changes weren't released, but we can load the native library jruby/jruby#6777 thanks to @enebo

so it's not a problem anymore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants