Summary: | www-servers/lighttpd: 404 bad request on virtual hosts with numerics | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Enrico 'nekrad' Weigelt <weigelt> |
Component: | Current packages | Assignee: | www-servers Herd (OBSOLETE) <www-servers+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | bangert, darkside |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://redmine.lighttpd.net/issues/1148 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 291093 | ||
Bug Blocks: |
Description
Enrico 'nekrad' Weigelt
2008-06-19 04:44:27 UTC
If following the RFCs strictly, a host name can not start with a number. Quoting RFC952: <name> ::= <let>[*[<let-or-digit-or-hyphen>]<let-or-digit>] However, after someone (by mistake) assigned 3com the domain name 3com.com some twenty-odd years ago, the practice has been to allow it even though it's technically wrong (cf. Mockapetris et al.) In other words, yeah, this should be fixed despite being "correct". it would be of help, if somebody could push this bug upstream... thanks. reported upstream Current status (as of writing): checked in but not in a release. Sorry for the noise. I could apply this patch to 1.4.23 in Gentoo if the maintainers wanted it done but didn't have time. Additionally, if you would like to defer this until a release by upstream, please remove bug 286134 from the blocker field. thanks & let me know :) we can stable without this. ARCHs, please go ahead. thanks... Confirmed this patch is in 1.4.24 by looking at the source code but it is not in the NEWS file. Ugh, sorry for the noise (again). It *is* in the NEWS file, but by a different tracker number... * Allow digits in hostnames in more places (fixes #1148) 1.4.24 is in the tree. Closing. Thanks Thilo |