ValidateUrl

Function ValidateUrl 

Source
pub fn ValidateUrl(URL: &str) -> Result<()>
Expand description

Validate URL format

Performs basic URL validation to prevent malformed URLs from causing issues with network operations.

§Arguments

  • url - The URL to validate

§Errors

Returns an error if the URL is invalid.

TODO: Use url crate for full RFC 3986 validation