Skip to content

Commit aa9f15a

Browse files
RasmusWLtausbn
andauthored
Python: Fix typo
Co-authored-by: Taus <tausbn@github.com>
1 parent b3e53f8 commit aa9f15a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ql/test/experimental/library-tests/frameworks/django-v1/response_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def fp_manual_json_response(request):
1212
return HttpResponse(json_data, content_type="application/json")
1313

1414
# Not an XSS sink, since the Content-Type is not "text/html"
15-
def fp_manual_content_type(reuqest):
15+
def fp_manual_content_type(request):
1616
return HttpResponse('<img src="0" onerror="alert(1)">', content_type="text/plain")
1717

1818
# XSS FP reported in https://github.com/github/codeql/issues/3466

0 commit comments

Comments
 (0)