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

HttpEntityMethodProcessor should not throw IllegalArgumentExceptions for invalid If-None-Match headers [SPR-14559] #19127

spring-projects-issues opened this issue Aug 4, 2016 · 0 comments


Copy link

@spring-projects-issues spring-projects-issues commented Aug 4, 2016

Brian Clozel opened SPR-14559 and commented

When an HTTP client sends a request with invalid validators in headers, like If-None-Match:bar instead of If-None-Match:"bar", the HttpHeaders class is trying to parse the values and throws an InvalidArgumentException if they aren't valid.

In that case, ServletWebRequest and HttpEntityMethodProcessor should behave the same way and not try to further process the validators and just serve the resource as if it wasn't a conditional request.

Affects: 4.3.2, 5.0 M1

Reference URL: spring-projects/spring-boot#6531

Referenced from: commits d8fc13f, 798d866

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants