Expand description
URL, path, and label validation/sanitization for graphify.
Ensures all URLs, file paths, and graph labels are safe and well-formed
before use. Port of Python security.py.
Re-exports§
pub use label_validator::sanitize_label;pub use path_validator::safe_path;pub use url_validator::validate_url;
Modules§
- label_
validator - Label sanitization to prevent injection in HTML/GraphML output.
- path_
validator - Path traversal prevention and graph file validation.
- url_
validator - URL validation and SSRF prevention.
Enums§
- Security
Error - Security validation errors.