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.
1 parent 226425e commit 930ed0aCopy full SHA for 930ed0a
python/ql/src/semmle/python/frameworks/Django.qll
@@ -1350,9 +1350,9 @@ private module PrivateDjango {
1350
* See https://docs.djangoproject.com/en/3.1/ref/request-response/#django.http.HttpResponse.write
1351
*/
1352
class HttpResponseWriteCall extends HTTP::Server::HttpResponse::Range, DataFlow::CallCfgNode {
1353
- HTTP::Server::HttpResponse::Range instance;
+ django::http::response::HttpResponse::InstanceSource instance;
1354
1355
- HttpResponseWriteCall() { node.getFunction() = write(instance).asCfgNode() }
+ HttpResponseWriteCall() { this.getFunction() = write(instance) }
1356
1357
override DataFlow::Node getBody() {
1358
result in [this.getArg(0), this.getArgByName("content")]
0 commit comments