% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/security.R
\name{sanitize_url}
\alias{sanitize_url}
\title{Sanitize URL input}
\usage{
sanitize_url(url)
}
\arguments{
\item{url}{Character string representing a URL}
}
\value{
Sanitized URL or throws error if invalid
}
\description{
Validates and sanitizes URLs to prevent malicious inputs while preserving
legitimate URLs for analysis.
}
\seealso{
Other security: 
\code{\link{is_api_key_configured}()},
\code{\link{sanitize_domain}()},
\code{\link{sanitize_file_path}()},
\code{\link{sanitize_hash}()},
\code{\link{sanitize_ip}()},
\code{\link{security-utilities}}
}
\concept{security}
\keyword{internal}
