diff --git a/IPython/html/terminal/handlers.py b/IPython/html/terminal/handlers.py index 7ae22d3..20dfd2c 100644 --- a/IPython/html/terminal/handlers.py +++ b/IPython/html/terminal/handlers.py @@ -19,7 +19,7 @@ class NewTerminalHandler(IPythonHandler): @web.authenticated def get(self): name, _ = self.application.terminal_manager.new_named_terminal() - self.redirect("/terminals/%s" % name, permanent=False) + self.redirect(name, permanent=False) class TermSocket(terminado.TermSocket, IPythonHandler): def get(self, *args, **kwargs):