fix: spawn redirect for users with backslash

The 302 redirect served after the spawn POST was not escaping the backslash.
This commit is contained in:
Nico Rikken
2019-07-17 07:23:39 +02:00
parent 3089d441b4
commit 30c69f94c8

View File

@@ -219,7 +219,7 @@ class SpawnHandler(BaseHandler):
next_url = self.get_next_url( next_url = self.get_next_url(
user, user,
default=url_path_join( default=url_path_join(
self.hub.base_url, "spawn-pending", user.name, server_name self.hub.base_url, "spawn-pending", user.escaped_name, server_name
), ),
) )
self.redirect(next_url) self.redirect(next_url)