[ruby-cvs:66689] nagachika:r59511 (ruby_2_4): merge revision(s) 57501, 58576: [Backport #13539]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Sat Aug 5 10:53:44 JST 2017


nagachika	2017-08-05 10:53:44 +0900 (Sat, 05 Aug 2017)

  New Revision: 59511

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59511

  Log:
    merge revision(s) 57501,58576: [Backport #13539]
    
    escape.c: check argument
    
    * ext/cgi/escape/escape.c (optimized_unescape): check
      accept_charset encoding argument.
    share `@@accept_charset`
    
    * lib/cgi/{core,util}.rb: include CGI::Util not only extending, to
      share `@@accept_charset` class variable, so that it is always
      accessible.  [ruby-core:80986] [Bug #13539]

  Modified directories:
    branches/ruby_2_4/
  Modified files:
    branches/ruby_2_4/ext/cgi/escape/escape.c
    branches/ruby_2_4/lib/cgi/core.rb
    branches/ruby_2_4/lib/cgi/util.rb
    branches/ruby_2_4/test/cgi/test_cgi_util.rb
    branches/ruby_2_4/version.h


More information about the ruby-cvs mailing list