Skip to content
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

An error occurs if a blank character exists before and after the delimiter of the MIME type parameter. [SPR-16630] #21171

Closed
spring-projects-issues opened this issue Mar 23, 2018 · 0 comments
Assignees
Labels
in: core status: backported type: bug
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Mar 23, 2018

Toru Suzuki opened SPR-16630 and commented

An error occurs if a blank character exists before and after the delimiter of the MIME type parameter.

example:

Caused by: org.springframework.util.InvalidMimeTypeException: Invalid mime type "multipart/x-mixed-replace;boundary = --myboundary": Invalid token character ' ' in token "boundary "
	at org.springframework.util.MimeTypeUtils.parseMimeType

Affects: 4.3.14

Referenced from: pull request #1746

Backported to: 4.3.15

@spring-projects-issues spring-projects-issues added type: bug status: backported in: core labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 5.0.5 milestone Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core status: backported type: bug
Projects
None yet
Development

No branches or pull requests

2 participants