Anonymous | Login | Signup for a new account | 12-17-2024 08:45 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0004804 | [Resin] | major | always | 10-13-11 11:57 | 10-19-11 12:48 | ||||
Reporter | richardmoco | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 4.0.22 | ||||||
Summary | 0004804: Resin Throws 500 HTTP header incorrectly on caught exception | ||||||||
Description | we have code that checks for application level 'log in'. A 'not logged in' user is identified with a caught exception and redirected to an error.jsp page. However the returned page header still shows that a 500 error code was sent. This is bad as the handled page should return a 200 (OK) code. | ||||||||
Additional Information |
The following URL will have been refused and redirected as its content is restricted by application logic. The redirect page is displayed correctly however resin also returns a 500 error code : "GET /fake/path/to/content-list.jsp?r=128&u=43741853 HTTP/1.1" 500 997 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1" 244000 We even added a error code 200 override to the error page that handles the request, and the page is returned with a 200 in the header, however the resin server _still_ records the 500. |
||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
35 total queries executed. 29 unique queries executed. |