Re: Failing If-None-Match header in DefaultServlet Tomcat 9.0.41 [SOLVED]

2020-12-14 Thread Oliver Erdmann
Hi!   Sorry for bothering, the failure is not inside Tomcat, but in my webapp.   I overlooked a filter, which happens to be my XSS filter, which removes quotes (besides <, >, etc.) from request parameters and header values.   Stay healthy, Oliver     --

Failing If-None-Match header in DefaultServlet Tomcat 9.0.41

2020-12-13 Thread Oliver Erdmann
Hi! Having a http request with If-None-Match header returns "400 Bad Request" with Tomcat 9.0.41 The header is e.g. If-None-Match: "bfc13a64729c4290ef5b2c2730249c88ca92d82d" (by the spec with quotes! [1]) But the request.getHeader() in the DefaultServlet returns the string without the quotes, t