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:
Adrian Holovaty 2006-01-05 16:28:25 +00:00
parent 7332b13239
commit 170c3be4b3
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ TECHNICAL_500_TEMPLATE = """
<div id="summary"> <div id="summary">
<h1>{{ exception_type }} at {{ request.path }}</h1> <h1>{{ exception_type }} at {{ request.path }}</h1>
<h2>{{ exception_value }}</h2> <h2>{{ exception_value|escape }}</h2>
<table class="meta"> <table class="meta">
<tr> <tr>
<th>Request Method:</th> <th>Request Method:</th>