summaryrefslogtreecommitdiff
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
commit46e8b340df47aa63d60643deaf98e8209b2e1540 (patch)
tree52b4143ffe795b942c7152fbdd621f614581460b /lib
parente12e30710f91c422a0bee189e41c405399186d82 (diff)
* lib/cgi.rb (CGI::QueryExtension::read_multipart): use == instead
of ===. [ruby-dev:30176] git-svn-id: svn+ssh://ci.ruby-lang.org/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 d937f58..38407da 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=~/--/