We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
getHost()
1 parent f7a6628 commit fd649c1Copy full SHA for fd649c1
ruby/ql/lib/codeql/ruby/frameworks/Ldap.qll
@@ -64,12 +64,11 @@ module NetLdap {
64
NetLdapBind() { this = l.getAMethodCall("bind") }
65
66
override DataFlow::Node getHost() {
67
- (
68
- result = l.getKeywordArgument("encryption")
69
- or
70
- result = l.getAMethodCall("encryption").getArgument(0)
71
- ) and
72
- result.getConstantValue().isStringlikeValue(":simple_tls")
+ result =
+ [
+ l.getKeywordArgument("host"), l.getAMethodCall("host").getArgument(0),
+ l.getAMethodCall("host").getKeywordArgument("method")
+ ]
73
}
74
75
override DataFlow::Node getPassword() {
0 commit comments