Actions
Bug #17057
closedCGI different behaviour with C vs Ruby version
Description
irb(main):001:0> require 'cgi' # don't load a native extension
irb(main):002:0> CGI.unescapeHTML("\xFF&")
=> ArgumentError (invalid byte sequence in UTF-8)
there's a fix on upstream https://github.com/ruby/cgi/pull/2
Updated by jeremyevans0 (Jeremy Evans) over 3 years ago
- Status changed from Open to Closed
I've merged the patch in the pull request after adding a test for it: https://github.com/ruby/cgi/pull/4
Actions
Like0
Like0