Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3e53f8 commit aa9f15aCopy full SHA for aa9f15a
1 file changed
python/ql/test/experimental/library-tests/frameworks/django-v1/response_test.py
@@ -12,7 +12,7 @@ def fp_manual_json_response(request):
12
return HttpResponse(json_data, content_type="application/json")
13
14
# Not an XSS sink, since the Content-Type is not "text/html"
15
-def fp_manual_content_type(reuqest):
+def fp_manual_content_type(request):
16
return HttpResponse('<img src="0" onerror="alert(1)">', content_type="text/plain")
17
18
# XSS FP reported in https://github.com/github/codeql/issues/3466
0 commit comments