DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29661>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29661

Host Names parsing is case sensitive

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |



------- Additional Comments From [EMAIL PROTECTED]  2004-06-18 12:58 -------
Create a Host entry like this :

<Host name=www.toto.com ...>
Add a context here
</Host>

Test it with a simple telnet or netcat :
nc yourhost:80 < EOT
GET /index.jsp HTTP/1.1
Host:www.toto.com 



EOT
(Be carefull to add a double <CR>)
You will got your page. Now, do :
nc yourhost:80 < EOT
GET /index.jsp HTTP/1.1
Host:WWW.toto.com 



EOT
You will have a 400 (invalid request) error.

I can try to llok at the code and provide a patch but I never tried to read 
tomcat sources. If you can point me in which part of the code this is done, I 
can try to read it.

As far as I know, it is NOT a invalid "bug" :), even if you could consider it 
as a misfeature. In fact, most of the good'all navigators do it for the user, 
it is clearly a wap (bad) terminal problem.

François.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to