Closed
Description
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