Skip to main content

ldaps_url

pub(super) fn ldaps_url(host: &str) -> Result<String, IntegrationError>
Expand description

Refuses anything beyond a host name, IPv6 literal and :port rather than normalising it, so a typo can’t downgrade the connection or send the bind elsewhere.