I have a class RequestFilter and @Override methods doFilterInternal. And when i add Header for response, findbugs show error HTTP parameter directly written to HTTP header o
Watch out if you wan't to set ETag header. ETag looks like W/"myetagvalue"
String etagHd = request.getHeader(HttpHeaders.ETAG); response.addHeader(HttpHeaders.ETAG, URLEncoder.encode(etagHd,StandardCharsets.UTF_8.displayName());
Will be encoded W%2F%22myetagvalue%22 be carefull !
W%2F%22myetagvalue%22