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 55d9f68 commit 426a4c6Copy full SHA for 426a4c6
jupyter_server/serverapp.py
@@ -2539,9 +2539,9 @@ def _resolve_file_to_run_and_root_dir(self):
2539
is configured, root_dir will be set to the parent
2540
directory of file_to_run.
2541
"""
2542
- rootdir_abspath = pathlib.Path(self.root_dir).resolve()
+ rootdir_abspath = pathlib.Path(self.root_dir).absolute()
2543
file_rawpath = pathlib.Path(self.file_to_run)
2544
- combined_path = (rootdir_abspath / file_rawpath).resolve()
+ combined_path = (rootdir_abspath / file_rawpath).absolute()
2545
is_child = str(combined_path).startswith(str(rootdir_abspath))
2546
2547
if is_child:
0 commit comments