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
This commit is contained in:
parent
7332b13239
commit
170c3be4b3
|
@ -280,7 +280,7 @@ TECHNICAL_500_TEMPLATE = """
|
|||
|
||||
<div id="summary">
|
||||
<h1>{{ exception_type }} at {{ request.path }}</h1>
|
||||
<h2>{{ exception_value }}</h2>
|
||||
<h2>{{ exception_value|escape }}</h2>
|
||||
<table class="meta">
|
||||
<tr>
|
||||
<th>Request Method:</th>
|
||||
|
|
Loading…
Reference in New Issue