Project

General

Profile

Actions

Bug #17057

closed

CGI different behaviour with C vs Ruby version

Added by ahorek (Pavel Rosický) over 3 years ago. Updated about 3 years ago.

Status:
Closed
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

Actions

Also available in: Atom PDF

Like0
Like0