sanitize_domain: Sanitize domain input

View source: R/security.R

sanitize_domainR Documentation

Sanitize domain input

Description

Validates and sanitizes domain names to prevent injection attacks while allowing legitimate domain analysis.

Usage

sanitize_domain(domain)

Arguments

domain

Character string representing a domain name

Value

Sanitized domain or throws error if invalid

See Also

Other security: is_api_key_configured(), sanitize_file_path(), sanitize_hash(), sanitize_ip(), sanitize_url(), security-utilities


virustotal documentation built on April 13, 2026, 9:07 a.m.