Skip to content

SPR-16630 - Delete white space befor and after the delimiter #1746

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

Closed

Conversation

toru-s
Copy link

@toru-s toru-s commented Mar 22, 2018

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

@rstoyanchev
Copy link
Contributor

Can you please create a ticket in the JIRA issue tracker?

@toru-s
Copy link
Author

toru-s commented Mar 23, 2018

I created a ticket. (SPR-16630)
Thanks

@toru-s toru-s changed the title delete white space befor and after the delimiter SPR-16630 - Delete white space befor and after the delimiter Mar 23, 2018
@pivotal-issuemaster
Copy link

@toru-s Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-issuemaster
Copy link

@toru-s Thank you for signing the Contributor License Agreement!

@rstoyanchev
Copy link
Contributor

I've made the change in master and 4.3.x also adding a test. Thanks for the pull request.

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.

3 participants