Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005974 [Resin] major always 01-23-16 02:22 05-09-16 13:49
Reporter stbu View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.47
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.
Additional Information
Attached Files  bug-5974-poc.war [^] (1,467 bytes) 01-23-16 02:23

- Relationships

- Notes
(0006700)
ferg
05-09-16 13:49

server/183x
 

- Issue History
Date Modified Username Field Change
01-23-16 02:22 stbu New Issue
01-23-16 02:23 stbu File Added: bug-5974-poc.war
01-23-16 02:23 stbu Issue Monitored: stbu
05-09-16 13:49 ferg Note Added: 0006700
05-09-16 13:49 ferg Assigned To  => ferg
05-09-16 13:49 ferg Status new => closed
05-09-16 13:49 ferg Resolution open => fixed
05-09-16 13:49 ferg Fixed in Version  => 4.0.49


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker