Show More
@@ -29,7 +29,7 b' import time' | |||||
29 | import uuid |
|
29 | import uuid | |
30 | import os |
|
30 | import os | |
31 |
|
31 | |||
32 | import tornado |
|
32 | from tornado.escape import url_escape | |
33 | from tornado import web |
|
33 | from tornado import web | |
34 | from tornado import websocket |
|
34 | from tornado import websocket | |
35 |
|
35 | |||
@@ -226,7 +226,7 b' class LoginHandler(AuthenticatedHandler):' | |||||
226 | def _render(self, message=None): |
|
226 | def _render(self, message=None): | |
227 | template = self.application.jinja2_env.get_template('login.html') |
|
227 | template = self.application.jinja2_env.get_template('login.html') | |
228 | self.write( template.render( |
|
228 | self.write( template.render( | |
229 |
next= |
|
229 | next=url_escape(self.get_argument('next', default=self.application.ipython_app.base_project_url)), | |
230 | read_only=self.read_only, |
|
230 | read_only=self.read_only, | |
231 | logged_in=self.logged_in, |
|
231 | logged_in=self.logged_in, | |
232 | login_available=self.login_available, |
|
232 | login_available=self.login_available, |
General Comments 0
You need to be logged in to leave comments.
Login now