fix: relax collection path restriction (#340)

This commit is contained in:
Jalin Wang
2026-04-16 15:26:15 +08:00
committed by GitHub
parent 37cd226410
commit 95d092e9b3
5 changed files with 29 additions and 31 deletions
@@ -127,12 +127,11 @@ long_names = [
valid_path_list = [
"/tmp/nonexistent/directory/test_collection",
"test/collection/with/slashes",
"test/collection/with/slashes/哈哈",
]
invalid_path_list = [
"invalid:path",
"invalid\0path",
"",
"test_collection_with_spaces ",
"test@#$%collection",
]