if (!httpd_valid_url_filename(nhn, 1, nhn->len))
if (!httpd__valid_hostname(nhn, 1, nhn->len))
int httpd_init_default_hostname(Opt_serv_policy_opts *sopts){  Httpd_policy_opts *popts = (Httpd_policy_opts *)sopts;  Vstr_base *nhn = popts->default_hostname;  Vstr_base *chn = NULL;  if (!httpd_valid_url_filename(nhn, 1, nhn->len))    vstr_del(nhn, 1, nhn->len);  if (nhn->len)    return (TRUE);    if (sopts != sopts->beg->def_policy)    chn = ((Httpd_policy_opts *)sopts->beg->def_policy)->default_hostname;    if (chn)    HTTPD_APP_REF_ALLVSTR(nhn, chn);  else  {    opt_serv_sc_append_hostname(nhn, 0);    vstr_conv_lowercase(nhn, 1, nhn->len);  }  return (!nhn->conf->malloc_bad);}