Skip to main content

validate_url

Function validate_url 

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

SSRF guard. Rejects URLs that would cause the daemon to connect to private-range addresses, link-local, loopback (except explicitly), or non-HTTPS remote hosts.