Skip to content

Commit 80158f8

Browse files
committed
fix some python uses of renamed features
1 parent c9ea10b commit 80158f8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

python/ql/lib/semmle/python/frameworks/Aiohttp.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ module AiohttpWebModel {
319319
}
320320

321321
/** An attribute read on an `aiohttp.web.Request` that is a `MultiDictProxy` instance. */
322-
class AiohttpRequestMultiDictProxyInstances extends MultiDict::MultiDictProxy::InstanceSource {
322+
class AiohttpRequestMultiDictProxyInstances extends Multidict::MultiDictProxy::InstanceSource {
323323
AiohttpRequestMultiDictProxyInstances() {
324324
this.(DataFlow::AttrRead).getObject() = Request::instance() and
325325
this.(DataFlow::AttrRead).getAttributeName() in ["query", "headers"]

python/ql/lib/semmle/python/frameworks/Stdlib.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1944,9 +1944,9 @@ private module StdlibPrivate {
19441944
SimpleHttpServer::SimpleHttpRequestHandler::classRef(),
19451945
CgiHttpServer::CgiHttpRequestHandler::classRef(),
19461946
// Python 3
1947-
StdHttp::Server::BaseHttpRequestHandler::classRef(),
1948-
StdHttp::Server::SimpleHttpRequestHandler::classRef(),
1949-
StdHttp::Server::CgiHttpRequestHandler::classRef()
1947+
StdlibHttp::Server::BaseHttpRequestHandler::classRef(),
1948+
StdlibHttp::Server::SimpleHttpRequestHandler::classRef(),
1949+
StdlibHttp::Server::CgiHttpRequestHandler::classRef()
19501950
].getASubclass*()
19511951
}
19521952

0 commit comments

Comments
 (0)