-
Notifications
You must be signed in to change notification settings - Fork 318
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
CORS is not checked when browsing files. check origin now https://github.com/jupyter-server/jupyter_server/issues/1459 #1465
base: main
Are you sure you want to change the base?
Conversation
@gogasca Thanks for the issue and the PR. I've been reading it, and agree that the Happy for any input you have on the above, and thanks again! |
Thanks @vidartf I will test using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change self.check_origin() to check_referer()
After changing: Change self.check_origin() to check_referer() many tests cases are broken, reverting back to self.check_origin() |
@vidartf can you PTAL again? |
Add check_origin check during check_xsrf_cookie for files.
Details:
#1459