module

Vug::UrlValidator

Class methods

parse_or_nil(url : String) : URI | Nil

Parse a URL string, returning nil on URI::Error instead of raising. Callers handle the nil case at the appropriate log level for their context (Fetcher logs at debug, SingleRequest logs at error).

Source
private_ip?(ip : String) : Bool
Source
resolves_to_private_ip?(host : String) : Bool
Source
revalidate_url?(url : String) : Bool
Source
valid_scheme?(scheme : String | Nil) : Bool
Source
valid_url?(url : String) : Bool
Source