pub fn url_has_password(url: &str) -> bool
Whether a URL has a password: in its user-info part (scheme://user:password@host) or as a query parameter naming one (?password=..., any case, the name percent-decoded; B203).
scheme://user:password@host
?password=...