Skip to main content

is_valid_path

Function is_valid_path 

Source
pub(crate) fn is_valid_path(path: &str) -> bool
Expand description

https://wicg.github.io/entries-api/#names-paths A valid path is a sequence of ‘/’ separated path segments, which does not contain contain NUL (U+0000) or ’' (U+005C REVERSE SOLIDUS).