Skip to main content

validate_subdomain

Function validate_subdomain 

Source
fn validate_subdomain(subdomain: &str) -> Result<(), OnePasswordError>
Expand description

Rejects a subdomain that is not a DNS label, which is what keeps a stray /, @ or ? from pointing the whole session at another host.