[#102652] [Ruby master Bug#17664] Behavior of sockets changed in Ruby 3.0 to non-blocking — ciconia@...
Issue #17664 has been reported by ciconia (Sharon Rosner).
23 messages
2021/02/28
[ruby-core:102604] [Ruby master Bug#17057] CGI different behaviour with C vs Ruby version
From:
merch-redmine@...
Date:
2021-02-25 17:35:21 UTC
List:
ruby-core #102604
Issue #17057 has been updated by jeremyevans0 (Jeremy Evans).
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
----------------------------------------
Bug #17057: CGI different behaviour with C vs Ruby version
https://bugs.ruby-lang.org/issues/17057#change-90588
* Author: ahorek (Pavel Rosick
* Status: Closed
* Priority: Normal
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
```
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
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>