codeql icon indicating copy to clipboard operation
codeql copied to clipboard

Java: More sanitizers for request-forgery

Open erik-krogh opened this issue 1 year ago • 1 comments
trafficstars

This PR adds the same sanitizers as https://github.com/github/codeql/pull/15596 did for C#.
I mostly used AI to translate the tests from C# to Java.

An evaluation looks fine.
One less result due to a List.contains() call that sanitizes the value.


I'll try to update the QHelp (similarly to https://github.com/github/codeql/pull/15623) once this PR has been merged.

erik-krogh avatar Feb 26 '24 19:02 erik-krogh

Also we should include a change note.

atorralba avatar Feb 28 '24 07:02 atorralba