You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@lihaoyi
I am not sure how would it behave in case folder is symlink.
We should check what is behavior in case of symlink without literal. - os.pwd / ".." / folder / "Out.txt"
Mill already normalizes os.pwd / ".." / "folder" / ".." / "Out.txt"to os.pwd / ".." / "Out.txt" on-creation, even before we perform any filesystem operations, so whether symlinks behave correctly or not, those are the semantics we already use
Addresses #327
This PR adds additional validation of literal path segments containing
`..`.
It throws compiletime error, suggesting canonical form of a path, when
literal path is not canonical.
Eg. "../foo/../bar" suggests "../bar"
"foo/.." suggests removing literal
---------
Co-authored-by: Li Haoyi <[email protected]>
Seems like we should error and ask people to us
"../Out.txt"
? @pawelsadlo what do you think?The text was updated successfully, but these errors were encountered: