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.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string
