Changeset 3722
- Timestamp:
- 09/04/06 19:26:14 (2 years ago)
- Files:
-
- django/trunk/django/views/debug.py (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/views/debug.py
r3718 r3722 190 190 <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 191 191 <meta name="robots" content="NONE,NOARCHIVE" /> 192 <title>{{ exception_type }} at {{ request.path }}</title>192 <title>{{ exception_type }} at {{ request.path|escape }}</title> 193 193 <style type="text/css"> 194 194 html * { padding:0; margin:0; } … … 293 293 294 294 <div id="summary"> 295 <h1>{{ exception_type }} at {{ request.path }}</h1>295 <h1>{{ exception_type }} at {{ request.path|escape }}</h1> 296 296 <h2>{{ exception_value|escape }}</h2> 297 297 <table class="meta"> … … 302 302 <tr> 303 303 <th>Request URL:</th> 304 <td>{{ request_protocol }}://{{ request.META.HTTP_HOST }}{{ request.path }}</td>304 <td>{{ request_protocol }}://{{ request.META.HTTP_HOST }}{{ request.path|escape }}</td> 305 305 </tr> 306 306 <tr> … … 310 310 <tr> 311 311 <th>Exception Value:</th> 312 <td>{{ exception_value }}</td>312 <td>{{ exception_value|escape }}</td> 313 313 </tr> 314 314 <tr> … … 413 413 {% endif %} 414 414 {% endfor %}<br/> 415 {{ exception_type }} at {{ request.path }}<br/>415 {{ exception_type }} at {{ request.path|escape }}<br/> 416 416 {{ exception_value|escape }}</code> 417 417 </td> … … 547 547 <head> 548 548 <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 549 <title>Page not found at {{ request.path }}</title>549 <title>Page not found at {{ request.path|escape }}</title> 550 550 <meta name="robots" content="NONE,NOARCHIVE" /> 551 551 <style type="text/css"> … … 577 577 <tr> 578 578 <th>Request URL:</th> 579 <td>{{ request_protocol }}://{{ request.META.HTTP_HOST }}{{ request.path }}</td>579 <td>{{ request_protocol }}://{{ request.META.HTTP_HOST }}{{ request.path|escape }}</td> 580 580 </tr> 581 581 </table> … … 592 592 {% endfor %} 593 593 </ol> 594 <p>The current URL, <code>{{ request.path }}</code>, didn't match any of these.</p>594 <p>The current URL, <code>{{ request.path|escape }}</code>, didn't match any of these.</p> 595 595 {% else %} 596 596 <p>{{ reason|escape }}</p>
