Skip to content

Commit

Permalink
Added no QA to lines that aren't run in the unit tests anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
nliccione committed Feb 5, 2024
1 parent 50305d7 commit 5f1999b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vulnpy/django/vulnerable_asgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ async def _get_user_input(request):
and django.VERSION[0] < 4
and not request.GET.get("user_input")
):
header_user_input = request.META.get("HTTP_QUERY_STRING")
return urllib.parse.unquote(header_user_input.split("=", 1)[1])
header_user_input = request.META.get("HTTP_QUERY_STRING") # noqa
return urllib.parse.unquote(header_user_input.split("=", 1)[1]) # noqa

if request.method == "GET":
return request.GET.get("user_input", "")
Expand Down

0 comments on commit 5f1999b

Please sign in to comment.