Skip to content

Commit 54012eb

Browse files
committed
Optimize getFullHostRegex
1 parent 4e261c6 commit 54012eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ql/src/experimental/semmle/python/security/LDAPInsecureAuth.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import semmle.python.dataflow.new.TaintTracking
88
import semmle.python.dataflow.new.RemoteFlowSources
99
import experimental.semmle.python.Concepts
1010

11-
string getFullHostRegex() { result = "(?i)ldap://[\\[a-zA-Z0-9].*" }
11+
string getFullHostRegex() { result = "(?i)ldap://.+" }
1212

1313
string getSchemaRegex() { result = "(?i)ldap(://)?" }
1414

0 commit comments

Comments
 (0)