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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15406

error-page responses are sent with wrong status code!

           Summary: error-page responses are sent with wrong status code!
           Product: Tomcat 4
           Version: 4.1.12
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Catalina
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I recently had occasion to use the error-page facility of web.xml with tomcat
4.x for the first time. To my surprise, tomcat sends a 200 status code with the
content, regardless of what the original error code is! As far as I can tell,
this is totally incorrect behavior. I regard it as a "major" bug because it's
essentially "censoring" the http conversation between client and webapp, and
makes it impossible for search engines, et. al., to distinguish between good and
bad urls.

I have verified this behavior in jakarta-tomcat-4.0.6 and 4.1.12 in standalone
mode. I have not tested it with any of the connectors. I am happy to help
contribute a patch if the developers agree this is a bug but have not the time
to fix it.

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

Reply via email to