pub fn has_dot_segment(path: &str) -> boolExpand description
Whether a URL path holds a . or .. segment once percent-decoded.
An encoded slash separates segments as a literal one does, so %2e%2E
and a%2F.. both count. Only one level of encoding is decoded.