We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 115a973 commit 81cac1fCopy full SHA for 81cac1f
jupyter_server/base/handlers.py
@@ -535,7 +535,7 @@ def check_xsrf_cookie(self) -> None:
535
# Servers without authentication are vulnerable to XSRF
536
return None
537
try:
538
- if not self.check_origin():
+ if not self.check_referer():
539
raise web.HTTPError(404)
540
return super().check_xsrf_cookie()
541
except web.HTTPError as e:
0 commit comments