pub fn validate_component(value: &str, field: &'static str) -> Result<(), Error>
Validate that the provided component is non-empty and contains only supported characters.