File tree Expand file tree Collapse file tree
java/ql/src/semmle/code/java/frameworks Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 methods. This means that more guards are recognized yielding precision
2323 improvements in a number of queries including ` java/index-out-of-bounds ` ,
2424 ` java/dereferenced-value-may-be-null ` , and ` java/useless-null-check ` .
25-
26-
25+ * Spring framework support is enhanced by taking into account additional
26+ annotations that indicate remote user input. This affects all security
27+ queries, which may yield additional results.
Original file line number Diff line number Diff line change @@ -11,7 +11,9 @@ class SpringServletInputAnnotation extends Annotation {
1111 a .hasName ( "RequestParam" ) or
1212 a .hasName ( "RequestHeader" ) or
1313 a .hasName ( "CookieValue" ) or
14- a .hasName ( "RequestPart" )
14+ a .hasName ( "RequestPart" ) or
15+ a .hasName ( "PathVariable" ) or
16+ a .hasName ( "RequestBody" )
1517 )
1618 }
1719}
You can’t perform that action at this time.
0 commit comments