mirror of
https://github.com/github/codeql.git
synced 2026-05-03 04:39:29 +02:00
Note fixed test result
the Optional type has now been modelled
This commit is contained in:
@@ -89,7 +89,7 @@ public class SpringXSS {
|
||||
case 0:
|
||||
return ResponseEntity.ok(userControlled); // $xss
|
||||
case 1:
|
||||
return ResponseEntity.of(Optional.of(userControlled)); // $MISSING: xss
|
||||
return ResponseEntity.of(Optional.of(userControlled)); // $xss
|
||||
case 2:
|
||||
return ResponseEntity.ok().body(userControlled); // $xss
|
||||
case 3:
|
||||
|
||||
Reference in New Issue
Block a user