Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
5974 | major | always | 01-23-16 02:22 | 05-09-16 13:49 | |
|
|||||
Reporter: | stbu | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 4.0.47 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.49 | ||
|
|||||
Summary: | 0005974: GzipFilter causes ERR_CONTENT_DECODING_FAILED in case of exception in <jsp:include/> | ||||
Description: |
As a Resin-Professional user we're using the GzipFilter and recently received browser issues in Google Chrome and Firefox (most recent stable versions). Chrome: ERR_CONTENT_DECODING_FAILED Firefox: Content-Encoding-Error These Content-Encoding-Error happen when the following conditions are fulfilled: - com.caucho.filters.GzipFilter enabled, e.g. in resin-web.xml - <jsp:include page="file-throwing-an-exception.jsp" flush="true"/> - included .jsp file is throwing an exception I am going to attach a .war file with 2 JSPs and a resin-web.xml. Simpy deploy the .war file and open it in a browser. Click on the link to generate a NullPointerExceptionin the included file and the Browser is reporting the Content-Encoding-Error problem. If you just comment the resin-web.xml line for the filter-mapping for the gzip filter, restart the web-app and repeat above steps the Browser will be able to display the content properly and you'll see the expected 500 Servlet Exception and java.lang.NullPointerException. |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: | bug-5974-poc.war [^] (1,467 bytes) 01-23-16 02:23 |
Notes | |||||
|
|||||
|
|