diff options
Diffstat (limited to 'lib/cgi.rb')
-rw-r--r-- | lib/cgi.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cgi.rb b/lib/cgi.rb index d937f58194..38407da5cc 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=~/--/ |