This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
http api not validating if content-type header is present. #1291
Closed
Description
The 'add files' endpoint of the http api passes the content-type header down into ipfs-multipart
, which passes it down into the content
library which was not checking for that header's presence before trying to parse it, resulting in a traceback and 500 error.
This has been patched in content
and a pr for ipfs-multipart
has been opened here: ipfs-inactive/js-ipfs-multipart#1
When that PR is either merged or the issue addressed manually we can then update the ipfs-multipart dependency in this repo and close this issue.
Metadata
Metadata
Assignees
Labels
No labels