File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
csharp/ql/lib/semmle/code/csharp/security/dataflow Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,12 @@ class PathCombinerViaMethodCall extends UnsanitizedPathCombiner {
20
20
}
21
21
}
22
22
23
- class PathCombinerViaStringInterpolation extends UnsanitizedPathCombiner {
24
- PathCombinerViaStringInterpolation ( ) { exists ( InterpolatedStringExpr e | this = e ) }
25
- }
23
+ class PathCombinerViaStringInterpolation extends UnsanitizedPathCombiner instanceof InterpolatedStringExpr { }
26
24
27
- class PathCombinerViaStringConcatenation extends UnsanitizedPathCombiner {
28
- PathCombinerViaStringConcatenation ( ) { exists ( AddExpr e | this = e ) }
25
+ class PathCombinerViaStringConcatenation extends UnsanitizedPathCombiner instanceof AddExpr {
26
+ PathCombinerViaStringConcatenation ( ) {
27
+ this .getAnOperand ( ) instanceof StringLiteral
28
+ }
29
29
}
30
30
31
31
class MethodCallGetFullPath extends MethodCall {
You can’t perform that action at this time.
0 commit comments