Closed burningrooftop closed 6 months ago
The toAbsPath function does not handle the sequence "/./../" in a path correctly.
For example, if the current directory is "/home/rooftop/test", then
toAbsPath(".", "../file.txt") returns "/home/rooftop/test/file.txt" instead of the expected "/home/rooftop/file.txt".
toAbsPath(".", "../file.txt")
Thank you very much.
No worries. Thanks for a fantastic programming language!
The toAbsPath function does not handle the sequence "/./../" in a path correctly.
For example, if the current directory is "/home/rooftop/test", then
toAbsPath(".", "../file.txt")
returns "/home/rooftop/test/file.txt" instead of the expected "/home/rooftop/file.txt".