kkolinko commented on PR #681:
URL: https://github.com/apache/tomcat/pull/681#issuecomment-1864889547

   Re 8: Whatever is easier.
   (Maybe it will be easier to extract some logic into an utility class and 
test that utility class. My concern is just that the logic is not trivial, is 
complicated by nuances like case-insensitivity, and is not tested).
   
   (Existing TestCsrfPreventionFilter class has several "simple" tests. 
TestRestCsrfPreventionFilter has more substantial tests, using mocks).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to