mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/cgi/core.rb (CGI::QueryExtension::initialize_query): fix the
condition. * test/cgi/test_cgi_core.rb: bug fix encoding. thaks to TAKANO Mitsuhiro <takano32 at jus.or.jp> . * test/cgi/test_cgi_multipart.rb: temporary comment in. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
73a2f67164
commit
ddf88ea80b
4 changed files with 15 additions and 5 deletions
|
@ -568,7 +568,7 @@ class CGI
|
|||
read_from_cmdline
|
||||
end.dup.force_encoding(@accept_charset)
|
||||
)
|
||||
if @accept_charset!="ASCII-8BIT" || @accept_charset!=Encoding::ASCII_8BIT
|
||||
unless @accept_charset=="ASCII-8BIT" || @accept_charset==Encoding::ASCII_8BIT
|
||||
@params.each do |key,values|
|
||||
values.each do |value|
|
||||
unless value.valid_encoding?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue