Skip to content

Commit

Permalink
fix vulnerability codeql
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaume authored Jul 24, 2024
1 parent e74dd06 commit eed8450
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mpcontribs-portal/mpcontribs/portal/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ def download_project(request, project: str, extension: str):
key = f"manual/{subdir}/{project}.json.gz"
content_type = "application/gzip"
else:
return HttpResponse(f"Invalid extension {extension}!", status=400)
return HttpResponse("Invalid extension!", status=400)

return _get_download(key, content_type=content_type)

Expand Down

0 comments on commit eed8450

Please sign in to comment.