Replace the userinfo of a URL (https://user:secret@host/...) with ***, so a
credential supplied via --base-url is never echoed in cleartext. A value that
does not parse as a URL (a port typo, an unencoded # in the password) has its
userinfo cut out by text (credentialsIn); a value without userinfo is returned
unchanged.
Replace the userinfo of a URL (
https://user:secret@host/...) with***, so a credential supplied via--base-urlis never echoed in cleartext. A value that does not parse as a URL (a port typo, an unencoded#in the password) has its userinfo cut out by text (credentialsIn); a value without userinfo is returned unchanged.