TheHive-Project / TheHive-Project/Cortex
Play Framework does not support "Header folding" (RFC 822) used in multipart/form-data POST request
Open
@To-om is already working on this.
Since Feb 10, 2021.
- Dominant language
- Scala
- Stars
- 1.6k
- Forks
- 264
- PR merge metrics
- No merged PRs in 30d
Description
In some cases, POST queries can use multipart/form-data with muli lines headers. In this case, Cortex generate an error like:
{
"name": "dataType",
"type": "MissingAttributeError",
"message": "Attribute dataType is missing"
},
{
"name": "data/attachment",
"type": "MissingAttributeError",
"message": "Attribute data/attachment is missing"
}
After investigation from @To-om, current version of Play framework does not support "Header folding" defined in the RFC 822 https://tools.ietf.org/html/rfc822#section-3.1.1.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.