diff --git a/python/ql/lib/semmle/python/frameworks/FileSystemAccess.qll b/python/ql/lib/semmle/python/frameworks/FileSystemAccess.qll index 25060eccf58..9c936e4075d 100644 --- a/python/ql/lib/semmle/python/frameworks/FileSystemAccess.qll +++ b/python/ql/lib/semmle/python/frameworks/FileSystemAccess.qll @@ -1,5 +1,5 @@ /** - * Provides classes modeling security-relevant aspects of the I/O write or read operations + * Provides classes modeling security-relevant aspects of the I/O file write or file read operations */ private import python diff --git a/python/ql/lib/semmle/python/frameworks/Starlette.qll b/python/ql/lib/semmle/python/frameworks/Starlette.qll index 2141aed80ca..ec41376cf67 100644 --- a/python/ql/lib/semmle/python/frameworks/Starlette.qll +++ b/python/ql/lib/semmle/python/frameworks/Starlette.qll @@ -179,7 +179,7 @@ module Starlette { /** * A call to the `baize.asgi.FileResponse` constructor as a sink for Filesystem access. * - * it is not contained to Starlette source code but it is mentioned as an alternative to Starlette FileResponse + * it is not contained to Starlette source code but it is mentioned in documents as an alternative to Starlette FileResponse */ class BaizeFileResponseCall extends FileSystemAccess::Range, API::CallNode { BaizeFileResponseCall() { diff --git a/python/ql/lib/semmle/python/frameworks/Stdlib.qll b/python/ql/lib/semmle/python/frameworks/Stdlib.qll index 193ca36d156..c8ba48a12d2 100644 --- a/python/ql/lib/semmle/python/frameworks/Stdlib.qll +++ b/python/ql/lib/semmle/python/frameworks/Stdlib.qll @@ -1491,7 +1491,7 @@ private module StdlibPrivate { /** * A call to the `io.open_code` function. - * See https://docs.python.org/3/library/io.html#io.FileIO + * See https://docs.python.org/3.11/library/io.html#io.open_code */ private class OpenCodeCall extends FileSystemAccess::Range, API::CallNode { OpenCodeCall() { this = API::moduleImport("io").getMember("open_code").getACall() }