pub fn validate_endpoint(url: &str) -> Result<(), ValidationError>Expand description
Validate a backend endpoint URL.
Only http:// and https:// are accepted. file://, javascript:,
data URIs, and other schemes are rejected.
pub fn validate_endpoint(url: &str) -> Result<(), ValidationError>Validate a backend endpoint URL.
Only http:// and https:// are accepted. file://, javascript:,
data URIs, and other schemes are rejected.