RemoteUrlSanitizer.php
Classes
- RemoteUrlSanitizer
- Reduces a remote URL to its scheme, host, optional port and path so that no secrets are ever reported as a resource attribute. Embedded credentials (user:password@) are removed, and any query string or fragment is dropped as either can carry an access token.