allow colon in filenames

This commit is contained in:
natasha41575
2022-07-28 14:52:24 -05:00
parent c4b4a41913
commit 9a6aad3ae4
2 changed files with 7 additions and 1 deletions

View File

@@ -34,6 +34,12 @@ var topCases = []pathCase{
arg: ParentDir,
errStr: "illegal name '..' in file creation",
},
{
what: "colon",
arg: "a:b",
name: "a:b",
path: "a:b",
},
{
what: "empty",
arg: "",