Bug 246402

Summary: lighttpd return a 400 - Bad Request error with a underline in http address ex: http://www.my_web.com.br
Product: [Fedora] Fedora Reporter: Itamar Reis Peixoto <itamar>
Component: lighttpdAssignee: Matthias Saou <matthias>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 7   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-07-02 04:57:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Itamar Reis Peixoto 2007-07-01 21:22:24 UTC
Description of problem:

lighttpd return a 400 - Bad Request error with a underline in http address ex:
http://www.my_web.com.br


Version-Release number of selected component (if applicable):

lighttpd-1.4.15-1.fc7

How reproducible:
access a website hosted by lighttpd with underline _ in address
example: 

http://www.my_web.com.br


Additional info:

In apache works fine

Comment 1 Matthias Saou 2007-07-02 04:57:02 UTC
Well, apache is too nice, I guess. Because underscores aren't RFC compliant in
domain names nor in host names. Fix your DNS entries...

This has already been reported and closed upstream :
http://trac.lighttpd.net/trac/ticket/1089

I have seen that RFC1033 does mention the underscore for DNS zones, so if you
feel like making an argument upstream with it, feel free, but this isn't
something I'll fix only in the package.