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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed
When a template chooses the output directory name itself, cratis new now requires it to be a single directory name that creates a new child of the current directory. Rooted paths, parent references, separators, names ending in a dot or space, reserved Windows device names, and links that lead elsewhere are refused before anything is written.
Template output containment checks compare paths exactly, so a directory that differs only by letter case is no longer treated as part of the output directory.
Names supplied with --name and paths supplied with --output behave as before.
Security
Template content can no longer choose an output location outside the directory cratis new runs in.