Skip to main content

default_name_validator

Function default_name_validator 

Source
pub fn default_name_validator(name: &str) -> bool
Expand description

Applies the default archive name policy.

The default rejects ASCII control characters, including NUL and DEL, colons, and leading or trailing ASCII whitespace. It deliberately does not impose extraction containment rules such as rejecting absolute paths or parent components.