From 6417d6c7c3e439253b0188a61e5bcd0dd5063bc4 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Tue, 5 Sep 2006 00:26:14 +0000 Subject: [PATCH] Added some escaping of request.path to django/views/debug.py. Thanks, Simon Greenhill git-svn-id: http://code.djangoproject.com/svn/django/trunk@3722 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/views/debug.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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 }}