From 170c3be4b3019cb9b1476d923bc8ddd5e84c1ebd Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Thu, 5 Jan 2006 16:28:25 +0000 Subject: [PATCH] Changed debug error view to escape the exception value, so that values in angle brackets aren't hidden by browsers git-svn-id: http://code.djangoproject.com/svn/django/trunk@1825 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/views/debug.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/views/debug.py b/django/views/debug.py index c7a4e6bf7d..674d4e4bfd 100644 --- a/django/views/debug.py +++ b/django/views/debug.py @@ -280,7 +280,7 @@ TECHNICAL_500_TEMPLATE = """

{{ exception_type }} at {{ request.path }}

-

{{ exception_value }}

+

{{ exception_value|escape }}

Request Method: