Note fixed test result

the Optional type has now been modelled
This commit is contained in:
Chris Smowton
2021-07-19 18:28:06 +01:00
parent 82ea2592ad
commit a0297d51e5

View File

@@ -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: