콘텐츠로 이동
한국어

redactUrlCredentials

이 콘텐츠는 아직 번역되지 않았습니다.

redactUrlCredentials(value): string

Defined in: src/util/RedactUrlCredentials.ts:75

Replace the userinfo of every absolute URL in value with ***, leaving the rest of the string byte-identical.

A no-op on anything without a scheme://…@ authority, so it is safe to apply to a value that only might be a URL.

string

string