Django

Code

Changeset 7528 for django

Show
Ignore:
Timestamp:
05/13/08 23:07:15 (6 months ago)
Author:
ubernostrum
Message:

Backport [7521] to 0.95-bugfixes per security policy; announcement and security bugfix release will be forthcoming.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/0.95-bugfixes/django/contrib/admin/views/decorators.py

    r3360 r7528  
    44from django.contrib.auth import authenticate, login 
    55from django.shortcuts import render_to_response 
     6from django.utils.html import escape 
    67from django.utils.translation import gettext_lazy 
    78import base64, datetime, md5 
     
    2324    return render_to_response('admin/login.html', { 
    2425        'title': _('Log in'), 
    25         'app_path': request.path
     26        'app_path': escape(request.path)
    2627        'post_data': post_data, 
    2728        'error_message': error_message