Leaklens

django__django-11620

When DEBUG is True, raising Http404 in a path converter's to_python method does not result in a technical response

Verdict: the fix is stated in the issue (Tier A).

The solution seems to be to catch Http404 instead of Resolver404 in technical_404_response.

The text states the fix: “The solution seems to be to catch Http404 instead of Resolver404 in technical_404_response.”

All SWE-bench Lite tasks · more django/django tasks · How the check works