pub fn valid_path(path: &str) -> bool
A template path: /-separated segments of lowercase letters, digits, dots, hyphens and underscores, no empty, . or .. segment, at most 255 characters.
/
.
..