Skip to content

Commit 22f3ae2

Browse files
fix: add allowed path workspace (#23) (#24)
Signed-off-by: Harrison Saturley-Hall <hsaturleyhal@nvidia.com> Co-authored-by: Tianhao Xu <49143331+tianhaox@users.noreply.github.com>
1 parent 9ed8b8f commit 22f3ae2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/aiconfigurator/sdk/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ def _sanitize_path_component(component: str) -> str:
8383
current_dir,
8484
Path.home(),
8585
Path('/tmp'),
86+
Path('/workspace'),
8687
Path('/var/tmp'),
8788
Path(tempfile.gettempdir()).resolve(),
8889
]

0 commit comments

Comments
 (0)