diff options
author | xibbar <xibbar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-06 07:53:58 +0000 |
---|---|---|
committer | xibbar <xibbar@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-06 07:53:58 +0000 |
commit | ddf88ea80bf1cd09bba74916a4e8836ecca71910 (patch) | |
tree | 1b594d3e931d02ddf70b4d3ae9cda3481a343ca7 /lib | |
parent | 73a2f671646a6f2a4097bc38060dac0583f0e1fd (diff) | |
download | ruby-ddf88ea80bf1cd09bba74916a4e8836ecca71910.tar.gz |
* 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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/cgi/core.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cgi/core.rb b/lib/cgi/core.rb index 618db42b18..f2bbb0a619 100644 --- a/lib/cgi/core.rb +++ b/lib/cgi/core.rb @@ -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? |