Skip to content

Commit a0297d5

Browse files
committed
Note fixed test result
the Optional type has now been modelled
1 parent 82ea259 commit a0297d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/test/query-tests/security/CWE-079/semmle/tests/SpringXSS.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public static ResponseEntity<String> methodContentTypeMaybeSafeStringLiterals(St
8989
case 0:
9090
return ResponseEntity.ok(userControlled); // $xss
9191
case 1:
92-
return ResponseEntity.of(Optional.of(userControlled)); // $MISSING: xss
92+
return ResponseEntity.of(Optional.of(userControlled)); // $xss
9393
case 2:
9494
return ResponseEntity.ok().body(userControlled); // $xss
9595
case 3:

0 commit comments

Comments
 (0)