Ticket #1366: fix_static_view_r2312.diff
File fix_static_view_r2312.diff, 787 bytes (added by , 19 years ago) |
---|
-
django/views/static.py
56 56 <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> 57 57 <meta http-equiv="Content-Language" content="en-us" /> 58 58 <meta name="robots" content="NONE,NOARCHIVE" /> 59 <title>Index of {{ directory }}</title>59 <title>Index of {{ directory|escape }}</title> 60 60 </head> 61 61 <body> 62 <h1>Index of {{ directory }}</h1>62 <h1>Index of {{ directory|escape }}</h1> 63 63 <ul> 64 64 {% for f in file_list %} 65 <li><a href="{{ f }}">{{ f}}</a></li>65 <li><a href="{{ f|urlencode }}">{{ f|escape }}</a></li> 66 66 {% endfor %} 67 67 </ul> 68 68 </body>