Skip to content

GH-2872: Parse all the multi-part files #2878

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 2, 2019

Conversation

artembilan
Copy link
Member

Fixes #2872

The same HTML form entry may have several files in the multi-part request.
Parse all of them in the MultipartAwareFormHttpMessageConverter.java
and re-map to the result MultiValueMap

Cherry-pick to 5.1.x

Fixes spring-projects#2872

The same HTML form entry may have several files in the multi-part request.
Parse all of them in the `MultipartAwareFormHttpMessageConverter.java`
 and re-map to the result `MultiValueMap`

**Cherry-pick to 5.1.x**
@artembilan
Copy link
Member Author

Looks like we don't have any tests for multi-part files.

Do not merge yet. Stay tuned.

@artembilan artembilan changed the title [DO NOT MERGE YET] GH-2872: Parse all the multi-part files GH-2872: Parse all the multi-part files Apr 1, 2019
@artembilan
Copy link
Member Author

Ready for review and merging if that.

@garyrussell garyrussell merged commit 2e2b49a into spring-projects:master Apr 2, 2019
garyrussell pushed a commit that referenced this pull request Apr 2, 2019
* GH-2872: Parse all the multi-part files

Fixes #2872

The same HTML form entry may have several files in the multi-part request.
Parse all of them in the `MultipartAwareFormHttpMessageConverter.java`
 and re-map to the result `MultiValueMap`

**Cherry-pick to 5.1.x**

* * Add test for multi-part files
@garyrussell
Copy link
Contributor

Cherry-picked as c8e78db

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Multiple Files for One Form Field in multipart/form-data
2 participants