Skip to content

Commit 0662013

Browse files
Update csharp/ql/src/Security Features/CWE-327/InsecureSQLConnection.ql
Co-authored-by: Mathias Vorreiter Pedersen <mathiasvp@github.com>
1 parent e0ee60f commit 0662013

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

csharp/ql/src/Security Features/CWE-327/InsecureSQLConnection.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ predicate isEncryptTrue(Source source, Sink sink) {
5252
or
5353
exists(ObjectCreation oc, Expr e | oc.getRuntimeArgument(0) = sink.asExpr() |
5454
getInfoForInitializedConnEncryption(oc, e) and
55-
e.getValue().toString().toLowerCase() = "true"
55+
e.getValue().toLowerCase() = "true"
5656
)
5757
}
5858

0 commit comments

Comments
 (0)