Function: getSafeUrlForLogging()
function getSafeUrlForLogging(rawUrl: string): string;
Defined in: shared/utils/urlSafety.ts:137
Removes sensitive URL parts so log lines don't leak credentials or tokens.
Parametersโ
rawUrlโ
string
Returnsโ
string
Remarksโ
Strips username/password.
- Strips query string and hash.
- Leaves scheme/host/path for diagnostics.