normalizeUrlPath
normalizeUrlPath(
rawPath):string|null
Defined in: packages/core/src/core/validation/path-matching.ts:96
Normalize a raw URL path: recursive percent-decode (4 rounds max) + dot-segment collapse. Returns null when the path is not decodable (invalid UTF-8 escape or leftover %XX run after the rounds).
Parameters
Section titled “Parameters”rawPath
Section titled “rawPath”string
Returns
Section titled “Returns”string | null