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 ed65a6c commit 87a4927Copy full SHA for 87a4927
jupyter_server/base/handlers.py
@@ -855,6 +855,7 @@ def head(self, path):
855
@authorized
856
def get(self, path, **kwargs):
857
"""Get a file by path."""
858
+ self.check_xsrf_cookie()
859
if os.path.splitext(path)[1] == ".ipynb" or self.get_argument("download", None):
860
name = path.rsplit("/", 1)[-1]
861
self.set_attachment_header(name)
0 commit comments