pub fn normalize_uri(path: &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 / CodeClimate validation warnings for framework routes such as
Next.js dynamic segments.