diff --git a/django/views/debug.py b/django/views/debug.py index 957d9dfd93..6178bdb83b 100644 --- a/django/views/debug.py +++ b/django/views/debug.py @@ -189,7 +189,7 @@ TECHNICAL_500_TEMPLATE = """ - {{ exception_type }} at {{ request.path }} + {{ exception_type }} at {{ request.path|escape }}