Skip to content

Make whitelist hook configurable #1

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

Merged
merged 1 commit into from
Nov 7, 2019
Merged

Make whitelist hook configurable #1

merged 1 commit into from
Nov 7, 2019

Conversation

rcthomas
Copy link

@rcthomas rcthomas commented Nov 5, 2019

Here's a commit to make the whitelist hook configurable. I left your _check_host_whitelist function in place in case you think it might be wise to wrapper the call with a check to ensure the method is callable or exists or whatnot. This may not be necessary as we've set the default to be to check that the host is either localhost or loopback by default.

@rcthomas
Copy link
Author

rcthomas commented Nov 5, 2019

May be helpful with jupyterhub#154

Copy link
Owner

@jacobtomlinson jacobtomlinson left a comment

Choose a reason for hiding this comment

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

Awesome thanks for this.

@jacobtomlinson jacobtomlinson merged commit 4c237b7 into jacobtomlinson:allow-remote-proxy Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants