pub fn normalize_uri(path_str: &str) -> StringExpand description
Normalize a path string to a valid URI: forward slashes and percent-encoded brackets.
Brackets ([, ]) are not valid in URI path segments per RFC 3986 and cause
SARIF validation warnings (e.g., Next.js dynamic routes like [slug]).