Replace the userinfo of a URL (https://user:secret@host/...) with ***, so a credential in a base URL never reaches an error message, a log or CI output. A URL without userinfo, or one that does not parse, is returned unchanged.
https://user:secret@host/...
***
Replace the userinfo of a URL (
https://user:secret@host/...) with***, so a credential in a base URL never reaches an error message, a log or CI output. A URL without userinfo, or one that does not parse, is returned unchanged.