Project

General

Profile

Bug #17057

CGI different behaviour with C vs Ruby version

Added by ahorek (Pavel Rosický) 2 months ago.

Status:
Open
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:99389]

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

No data to display

Also available in: Atom PDF