agrafix/Spock

Multiple file upload, but only one file in request body

Open

#143 建立於 2018年5月9日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)Haskell (54 fork)batch import
bughelp wanted

倉庫指標

Star
 (596 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Multiple file upload seems to not be handled correctly. If a user selects multiple files to upload on a file input field, such as the following, then the request body will contain only one file associated with the input field.

<input multiple name="files" id="files" type="file">

From a quick look at the code, maybe this part should use HM.fromListWith (<>) and a HashMap Text [UploadedFile]?

貢獻者指南