File tree 1 file changed +2
-4
lines changed
javascript/ql/lib/semmle/javascript/frameworks
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -55,9 +55,7 @@ module ExpressValidator {
55
55
/**
56
56
* Gets the route handler that is validated.
57
57
*/
58
- Express:: RouteHandler getRouteHandler ( ) {
59
- Routing:: getRouteHandler ( result ) .isGuardedBy ( this )
60
- }
58
+ Express:: RouteHandler getRouteHandler ( ) { Routing:: getRouteHandler ( result ) .isGuardedBy ( this ) }
61
59
62
60
/**
63
61
* Gets the parameter that is validated and is secure
@@ -80,7 +78,7 @@ module ExpressValidator {
80
78
/**
81
79
* If the `query/body/cookie/header` functions are called, we want to check if one of the
82
80
* chaining method calls is a sanitizer.
83
- *
81
+ *
84
82
* If a non-sanitizing functions is called, we want to recursively check if the parent is safe
85
83
*/
86
84
private predicate isSafe ( DataFlow:: SourceNode node ) {
You can’t perform that action at this time.
0 commit comments