Django

Code

Changeset 7529

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

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

Files:

Legend:

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

    r2010 r7529  
    33from django.models.auth import users 
    44from django.utils import httpwrappers 
     5from django.utils.html import escape 
    56from django.utils.translation import gettext_lazy 
    67import base64, datetime, md5 
     
    2223    return render_to_response('admin/login', { 
    2324        'title': _('Log in'), 
    24         'app_path': request.path
     25        'app_path': escape(request.path)
    2526        'post_data': post_data, 
    2627        'error_message': error_message