mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-08 10:34:10 +00:00
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:
@@ -219,7 +219,7 @@ class SpawnHandler(BaseHandler):
|
||||
next_url = self.get_next_url(
|
||||
user,
|
||||
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)
|
||||
|
Reference in New Issue
Block a user