Kaydet (Commit) 170c3be4 authored tarafından Adrian Holovaty's avatar Adrian Holovaty

Changed debug error view to escape the exception value, so that values in angle…

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
üst 7332b132
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment