mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-13 04:53:01 +00:00
Apply suggestions from code review
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
This commit is contained in:
@@ -623,7 +623,7 @@ class BaseHandler(RequestHandler):
|
||||
if (next_url + '/').startswith(
|
||||
(
|
||||
f'{self.request.protocol}://{self.request.host}/',
|
||||
'//%s/' % self.request.host,
|
||||
f'//{self.request.host}/',
|
||||
)
|
||||
) or (
|
||||
self.subdomain_host
|
||||
|
Reference in New Issue
Block a user