Closed frisi closed 6 years ago
if a text/html response does not contain any data (eg empty page for an ajax request) we do not log a warning that no csrf token could be added
this fixes #15
not sure if the tests actually add value since i did not find a way to check no warning message is logged.
thanks for your clarifications @mauritsvanrees. i simplified the if statements and started the tests
should be ready to merge @mauritsvanrees :-)
Merged. Thank you!
if a text/html response does not contain any data (eg empty page for an ajax request) we do not log a warning that no csrf token could be added
this fixes #15
not sure if the tests actually add value since i did not find a way to check no warning message is logged.