﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
35673	ExceptionReporter.get_traceback_data() does not handle when request.GET data exceeds DATA_UPLOAD_MAX_NUMBER_FIELDS	Pēteris Caune	Ahmed Nassar	"When the number of query parameters in URL exceeds settings.DATA_UPLOAD_MAX_NUMBER_FIELDS, Django takes more than a second to generate the error page and eventually returns HTTP 500 with a blank page. The ""manage.py runserver"" output shows a long chain of exceptions, delimited with ""The above exception was the direct cause of the following exception:"" line. 

To reproduce: start a new Django project, and place the following in urls.py:

{{{
from django.http import HttpResponse
from django.urls import path


def index(request):
    request.GET.getlist(""a"")
    url = ""/?"" + ""&"".join([f""a={i}"" for i in range(0, 1001)])
    return HttpResponse(f""""""<a href=""{url}"">Click me</a>"""""", content_type=""text/html"")


urlpatterns = [
    path("""", index),
]
}}}

The problem is only triggered if

* DEBUG=True (otherwise, Django generates a HTTP 400 response with no delay)
* If the view accesses request.GET



"	Bug	assigned	Error reporting	5.1	Normal			Pēteris Caune	Accepted	1	0	0	1	0	0
