mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 08:12:29 +00:00
421aa1add1
Note: in general, we rely on the OS to tell us if a name is invalid or if two names normalize in the same way. But for security, we do want to make sure that we catch '.', '..', slashes and NUL characters. (NUL characters aren't really a security issue, but since they would be truncated when we pass them to the OS, it would be canonicity problem.)
280 B
280 B