Reject path consisting of all "." (fixes #13)

Ping @mrkkrp
This commit is contained in:
Chris Done
2016-03-04 14:39:17 +01:00
parent 04fa5d3ea8
commit 2e109c86d8
2 changed files with 4 additions and 3 deletions

View File

@@ -38,6 +38,7 @@ restrictions =
parseFails "~/foo/bar"
parseFails "../"
parseFails ".."
parseFails "."
parseFails "/.."
parseFails "/foo/../bar/"
parseFails "/foo/bar/.."