This vhost.c check blocks example.123 as a Host hader:

    else {
        /* The top-level domain must start with a letter (RFC 1123 2.1) */
        while (ch > host && *ch != '.')
            ch--;
        if (ch[0] == '.' && ch[1] != '\0' && !apr_isalpha(ch[1]))
            goto bad;
    }

The intention 1123 2.1 is to avoid ambiguity with dotted quad
representations of IP addresses.  Would it be reasonable to test any
other component or count the "." as we go to accept these as long as
there is no ambiguity, still under strict?

Reply via email to