summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-01-23 09:32:39 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-01-23 09:32:39 +0000
commit76bdb346bc99674c092e5fa6ad6415e27e000ed5 (patch)
tree52b4143ffe795b942c7152fbdd621f614581460b /lib
parent88d9078adcfadf18ce7696daa57c8ae6a41c3469 (diff)
downloadruby-76bdb346bc99674c092e5fa6ad6415e27e000ed5.tar.gz
ruby-76bdb346bc99674c092e5fa6ad6415e27e000ed5.tar.xz
ruby-76bdb346bc99674c092e5fa6ad6415e27e000ed5.zip
* lib/cgi.rb (CGI::QueryExtension::read_multipart): use == instead
of ===. [ruby-dev:30176] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/cgi.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cgi.rb b/lib/cgi.rb
index d937f5819..38407da5c 100644
--- a/lib/cgi.rb
+++ b/lib/cgi.rb
@@ -1063,7 +1063,7 @@ class CGI
params[name] = [body]
end
break if buf.size == 0
- break if content_length === -1
+ break if content_length == -1
end
raise EOFError, "bad boundary end of body part" unless boundary_end=~/--/