File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
python/ql/src/semmle/python/frameworks Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1303,7 +1303,7 @@ private module PrivateDjango {
1303
1303
}
1304
1304
1305
1305
/** Gets a reference to the `django.http.response.HttpResponse.write` function. */
1306
- private DataFlow:: Node write (
1306
+ private DataFlow:: LocalSourceNode write (
1307
1307
django:: http:: response:: HttpResponse:: InstanceSource instance , DataFlow:: TypeTracker t
1308
1308
) {
1309
1309
t .startInAttr ( "write" ) and
@@ -1315,7 +1315,7 @@ private module PrivateDjango {
1315
1315
1316
1316
/** Gets a reference to the `django.http.response.HttpResponse.write` function. */
1317
1317
DataFlow:: Node write ( django:: http:: response:: HttpResponse:: InstanceSource instance ) {
1318
- result = write ( instance , DataFlow:: TypeTracker:: end ( ) )
1318
+ write ( instance , DataFlow:: TypeTracker:: end ( ) ) . flowsTo ( result )
1319
1319
}
1320
1320
1321
1321
/**
You can’t perform that action at this time.
0 commit comments