Skip to main content

loopback_host

Function loopback_host 

Source
pub fn loopback_host(value: &str) -> bool
Expand description

host[:port] is a loopback name or address (DNS-rebinding guard). The port, when present, must be digits: 127.0.0.1:80.evil.example is not a loopback host.