This reverts commit d0c034b911
.
This commit is contained in:
parent
4409f56ba7
commit
f4de825ab8
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ module Kemal
|
|||
|
||||
private def parse_file_upload
|
||||
HTTP::FormData.parse(@request) do |upload|
|
||||
next unless upload && upload.size
|
||||
next unless upload
|
||||
filename = upload.filename
|
||||
if !filename.nil?
|
||||
@files[upload.name] = FileUpload.new(upload: upload)
|
||||
|
|
Loading…
Reference in a new issue