Learn R Programming

virustotal (version 0.5.0)

sanitize_domain: Sanitize domain input

Description

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

Usage

sanitize_domain(domain)

Value

Sanitized domain or throws error if invalid

Arguments

domain

Character string representing a domain name

See Also

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