mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
Python: Enable auto-model for cgi.FieldStorage
This commit is contained in:
@@ -83,6 +83,14 @@ class StdlibBaseHttpRequestHandler extends FindSubclassesSpec {
|
||||
}
|
||||
}
|
||||
|
||||
class StdlibCgiFieldStorage extends FindSubclassesSpec {
|
||||
StdlibCgiFieldStorage() { this = "cgi.FieldStorage~Subclass" }
|
||||
|
||||
override API::Node getAlreadyModeledClass() {
|
||||
result = StdlibPrivate::Cgi::FieldStorage::subclassRef()
|
||||
}
|
||||
}
|
||||
|
||||
bindingset[fullyQualified]
|
||||
predicate fullyQualifiedToYamlFormat(string fullyQualified, string type2, string path) {
|
||||
exists(int firstDot | firstDot = fullyQualified.indexOf(".", 0, 0) |
|
||||
|
||||
Reference in New Issue
Block a user