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

org.springframework.web.multipart.support.MissingServletRequestPartException: Required request part 'issueModel' is not present #281

Open
bhargavivuttaravilli123 opened this issue May 12, 2023 · 1 comment

Comments

@bhargavivuttaravilli123

Hi,

I am using Java Html Sanitizer for sanitizing the content entered by the user. But while sanitizing the request body i am receiving below error.

Required request part 'issueModel' is not present.

REQUEST:
Content-Disposition: form-data; name="issueModel"; filename="blob"
Content-Type: application/json

{"issueType":{"id":"a211-482f-97a1"},"issueId":"8530-4e64-b6ba","issueProperties":{"defaultAttr":{"caseHead":"Querty","description":"Querty 1999"}}}

After sanitization:
Content-Disposition: form-data; name="issueModel"; filename="blob"
Content-Type: application/json

{"issueType":{"id":"a211-482f-97a1"},"issueId":&#8530-4e64-b6ba","issueProperties":{"defaultAttr":{"issueHead":"Querty ","description":"Querty 1999 "}}}

@jmanico
Copy link
Member

jmanico commented May 12, 2023 via email

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

No branches or pull requests

2 participants