Skip to main content

is_valid_wan_host_hint

Function is_valid_wan_host_hint 

Source
pub fn is_valid_wan_host_hint(host_hint: &str) -> bool
Expand description

Whether host_hint is safe to render: [a-z0-9.-]{1,48} (§2.6). The hint is sender-chosen; anything else renders as ?.