diff options
author | Wojtek Kruszewski <wojtek@oxos.pl> | 2016-02-01 10:04:48 +0100 |
---|---|---|
committer | Wojtek Kruszewski <wojtek@oxos.pl> | 2016-02-01 10:06:00 +0100 |
commit | f2baf7ba76f90d5977abc347fed3a6bb7d32e114 (patch) | |
tree | 36c78c47e9141c5a960bb808c782f51ea9e0dff2 | |
parent | 923c25609b319379859844899ae96fc76cdfb5f3 (diff) | |
download | rack-f2baf7ba76f90d5977abc347fed3a6bb7d32e114.tar.gz |
Don't skip empty multipart params
-rw-r--r-- | lib/rack/multipart/parser.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/rack/multipart/parser.rb b/lib/rack/multipart/parser.rb index 2ea9cd80..567c868d 100644 --- a/lib/rack/multipart/parser.rb +++ b/lib/rack/multipart/parser.rb @@ -100,8 +100,6 @@ module Rack # Generic multipart cases, not coming from a form data = {:type => content_type, :name => name, :tempfile => body, :head => head} - elsif !filename && data.empty? - return end yield data |