Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle lack of trailing slashes in hub URLs #173

Merged
merged 1 commit into from Apr 23, 2021

Conversation

yuvipanda
Copy link
Contributor

Without this, if your hub url was something like
https://myhub.com/jupyter, your nbgitpuller URL will
be something like https://myhub.com/jupyterhub/user-redirect...
instead of https://myhub.com/jupyter/hub/user-redirect...

Without this, if your hub url was something like
https://myhub.com/jupyter, your nbgitpuller URL will
be something like https://myhub.com/jupyterhub/user-redirect...
instead of https://myhub.com/jupyter/hub/user-redirect...
Copy link
Member

@consideRatio consideRatio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also looks correct, just like in the associated PR for generating a Canvas URL in #172.

@consideRatio consideRatio merged commit d273131 into jupyterhub:master Apr 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants