(value: string | null | undefined)
| 512 | // Combines pathname parsing + app-proxy prefix detection so request-value |
| 513 | // shaped inputs (raw URLs, header values) can be classified in a single call. |
| 514 | function getAppProxyBasePathFromRequestValue(value: string | null | undefined): string | null { |
| 515 | const pathname = parsePathnameFromRequestValue(value); |
| 516 | return pathname ? getAppProxyBasePathFromPathname(pathname) : null; |
| 517 | } |
| 518 | |
| 519 | function getRequestPublicBasePath( |
| 520 | req: PublicBasePathRequest, |
no test coverage detected