You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2008/08/29 21:49:22 UTC

DO NOT REPLY [Bug 45714] New: response.sendError does not send back message properly

https://issues.apache.org/bugzilla/show_bug.cgi?id=45714

           Summary: response.sendError does not send back message properly
           Product: Tomcat 6
           Version: 6.0.18
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: sloan@pobox.com


In Tomcat 6.0.16 if you do the following:

response.sendError(500, "This is my error message")

The statusText read by the browser will be "This is my error message" and the
status will be 500.

Something has changed in Tomcat 6.0.18 where the statusText will be the literal
string translation of the error code (the status will still be 500).  I.E. the
statusText will read "Internal Server Error" instead of "This is my error
message".

This occurs for all error code types and is browser independent.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 45714] response.sendError does not send back message properly

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45714


Mark Thomas <ma...@apache.org> changed:

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




--- Comment #1 from Mark Thomas <ma...@apache.org>  2008-08-29 13:29:05 PST ---
This is as a result of the fix for CVE-2008-1232.
See http://tomcat.apache.org/security-6.html for the details.

To configure the behavior, see
http://tomcat.apache.org/tomcat-6.0-doc/config/systemprops.html specifcially
org.apache.coyote.USE_CUSTOM_STATUS_MSG_IN_HEADER

If you do change this setting you *must* make sure only ISO-8859-1 text is used
in the error message.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org