+2
-1
lines changedFilter options
+2
-1
lines changed Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@
3
3
from django.contrib.auth.models import User
4
4
from django.contrib.auth import authenticate, login
5
5
from django.shortcuts import render_to_response
6
+
from django.utils.html import escape
6
7
from django.utils.translation import gettext_lazy
7
8
import base64, datetime, md5
8
9
import cPickle as pickle
@@ -22,7 +23,7 @@ def _display_login_form(request, error_message=''):
22
23
post_data = _encode_post_data({})
23
24
return render_to_response('admin/login.html', {
24
25
'title': _('Log in'),
25
-
'app_path': request.path,
26
+
'app_path': escape(request.path),
26
27
'post_data': post_data,
27
28
'error_message': error_message
28
29
}, context_instance=template.RequestContext(request))
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4