strip_password_from_url

Function strip_password_from_url 

Source
pub fn strip_password_from_url(url: &str) -> Result<String>
Expand description

Strip password from PostgreSQL connection URL Returns a new URL with password removed, preserving all other components This is useful for storing connection strings in places where passwords should not be visible