pub fn hostname_allowed(value: &[u8], allowed: &[u8]) -> boolExpand description
Whether value matches an allow-list entry allowed that is a string: equal to it, *,
or a *.suffix wildcard that value ends with (the root itself is not matched).