https://bz.apache.org/bugzilla/show_bug.cgi?id=69602

--- Comment #2 from Chris <c...@stl.gmbh> ---
After the code refactoring a String 

W/"696184473-1709306080000"

is falling through the if expression check

if (headerValue.length() < 2 || headerValue.charAt(0) != '"' ||
    headerValue.charAt(headerValue.length() - 1) != '"' ||
    headerValue.indexOf('"', 1) != headerValue.length() - 1) {
    // Not a single, strong entity tag
  response.sendError(HttpServletResponse.SC_BAD_REQUEST);
  return false;
}

Since the String does not start with:
headerValue.charAt(0)
vs.
W/"696184473-1709306080000"

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to