Skip to content

Commit 826aede

Browse files
committed
Python: Remove resolved TODO
1 parent 353505e commit 826aede

File tree

1 file changed

+13
-25
lines changed

1 file changed

+13
-25
lines changed

python/ql/src/semmle/python/frameworks/Django.qll

Lines changed: 13 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -629,8 +629,7 @@ private module Django {
629629
t.start() and
630630
result = response_attr("HttpResponse")
631631
or
632-
// TODO: remove/expand this part of the template as needed
633-
// Handle `http.HttpResponse` alias
632+
// Handle `django.http.HttpResponse` alias
634633
t.start() and
635634
result = http_attr("HttpResponse")
636635
or
@@ -700,8 +699,7 @@ private module Django {
700699
t.start() and
701700
result = response_attr("HttpResponseRedirect")
702701
or
703-
// TODO: remove/expand this part of the template as needed
704-
// Handle `http.HttpResponseRedirect` alias
702+
// Handle `django.http.HttpResponseRedirect` alias
705703
t.start() and
706704
result = http_attr("HttpResponseRedirect")
707705
or
@@ -767,8 +765,7 @@ private module Django {
767765
t.start() and
768766
result = response_attr("HttpResponsePermanentRedirect")
769767
or
770-
// TODO: remove/expand this part of the template as needed
771-
// Handle `http.HttpResponsePermanentRedirect` alias
768+
// Handle `django.http.HttpResponsePermanentRedirect` alias
772769
t.start() and
773770
result = http_attr("HttpResponsePermanentRedirect")
774771
or
@@ -835,7 +832,7 @@ private module Django {
835832
result = response_attr("HttpResponseNotModified")
836833
or
837834
// TODO: remove/expand this part of the template as needed
838-
// Handle `http.HttpResponseNotModified` alias
835+
// Handle `django.http.HttpResponseNotModified` alias
839836
t.start() and
840837
result = http_attr("HttpResponseNotModified")
841838
or
@@ -896,8 +893,7 @@ private module Django {
896893
t.start() and
897894
result = response_attr("HttpResponseBadRequest")
898895
or
899-
// TODO: remove/expand this part of the template as needed
900-
// Handle `http.HttpResponseBadRequest` alias
896+
// Handle `django.http.HttpResponseBadRequest` alias
901897
t.start() and
902898
result = http_attr("HttpResponseBadRequest")
903899
or
@@ -960,8 +956,7 @@ private module Django {
960956
t.start() and
961957
result = response_attr("HttpResponseNotFound")
962958
or
963-
// TODO: remove/expand this part of the template as needed
964-
// Handle `http.HttpResponseNotFound` alias
959+
// Handle `django.http.HttpResponseNotFound` alias
965960
t.start() and
966961
result = http_attr("HttpResponseNotFound")
967962
or
@@ -1024,8 +1019,7 @@ private module Django {
10241019
t.start() and
10251020
result = response_attr("HttpResponseForbidden")
10261021
or
1027-
// TODO: remove/expand this part of the template as needed
1028-
// Handle `http.HttpResponseForbidden` alias
1022+
// Handle `django.http.HttpResponseForbidden` alias
10291023
t.start() and
10301024
result = http_attr("HttpResponseForbidden")
10311025
or
@@ -1088,8 +1082,7 @@ private module Django {
10881082
t.start() and
10891083
result = response_attr("HttpResponseNotAllowed")
10901084
or
1091-
// TODO: remove/expand this part of the template as needed
1092-
// Handle `http.HttpResponseNotAllowed` alias
1085+
// Handle `django.http.HttpResponseNotAllowed` alias
10931086
t.start() and
10941087
result = http_attr("HttpResponseNotAllowed")
10951088
or
@@ -1153,8 +1146,7 @@ private module Django {
11531146
t.start() and
11541147
result = response_attr("HttpResponseGone")
11551148
or
1156-
// TODO: remove/expand this part of the template as needed
1157-
// Handle `http.HttpResponseGone` alias
1149+
// Handle `django.http.HttpResponseGone` alias
11581150
t.start() and
11591151
result = http_attr("HttpResponseGone")
11601152
or
@@ -1217,8 +1209,7 @@ private module Django {
12171209
t.start() and
12181210
result = response_attr("HttpResponseServerError")
12191211
or
1220-
// TODO: remove/expand this part of the template as needed
1221-
// Handle `http.HttpResponseServerError` alias
1212+
// Handle `django.http.HttpResponseServerError` alias
12221213
t.start() and
12231214
result = http_attr("HttpResponseServerError")
12241215
or
@@ -1281,8 +1272,7 @@ private module Django {
12811272
t.start() and
12821273
result = response_attr("JsonResponse")
12831274
or
1284-
// TODO: remove/expand this part of the template as needed
1285-
// Handle `http.JsonResponse` alias
1275+
// Handle `django.http.JsonResponse` alias
12861276
t.start() and
12871277
result = http_attr("JsonResponse")
12881278
or
@@ -1348,8 +1338,7 @@ private module Django {
13481338
t.start() and
13491339
result = response_attr("StreamingHttpResponse")
13501340
or
1351-
// TODO: remove/expand this part of the template as needed
1352-
// Handle `http.StreamingHttpResponse` alias
1341+
// Handle `django.http.StreamingHttpResponse` alias
13531342
t.start() and
13541343
result = http_attr("StreamingHttpResponse")
13551344
or
@@ -1412,8 +1401,7 @@ private module Django {
14121401
t.start() and
14131402
result = response_attr("FileResponse")
14141403
or
1415-
// TODO: remove/expand this part of the template as needed
1416-
// Handle `http.FileResponse` alias
1404+
// Handle `django.http.FileResponse` alias
14171405
t.start() and
14181406
result = http_attr("FileResponse")
14191407
or

0 commit comments

Comments
 (0)