From: Eric Wong Date: 2018-05-03T01:24:54+00:00 Subject: [ruby-core:86854] Re: [Ruby trunk Bug#14732] CGI.unescape returns different instance between Ruby 2.3 and 2.4 me@jnito.com wrote: > normalperson (Eric Wong) wrote: > > > > https://bugs.ruby-lang.org/issues/14732 > > > > r63328 This also affects 2.3 for unescapeHTML. > > I confirmed r63328, but could not understand the valid specification. > > In Ruby 2.3, CGI.escape and CGI.unescape always return String instance regardless of class and value: Wait, sorry, I misread your original. I guess it's the use of String#b in the pure Ruby version. > With r63328, I feel the all results would be the instance of > "S" and this behavior is different from Ruby 2.3. But is this > valid in Ruby 2.4? Sorry, I'm not sure, anymore. I revert r63328 Unsubscribe: