mirror of
https://github.com/Hopiu/django.git
synced 2026-04-28 02:34:52 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue