Mantis - Resin
Viewing Issue Advanced Details
1761 major always 05-27-07 08:34 06-01-07 11:58
jkriesten  
ferg  
normal  
closed 3.1.1  
fixed  
none    
none 3.1.2  
0001761: GzipFilter always compresses
GzipFilter always compresses, regardless whethere or not the incoming stream is already compressed (e.g. if other filters already applied gzip).

Came over it when using WicketFilter (http://incubator.apache.org/wicket/), [^] which already applies and caches resources as gzip. Compressing it twice broke the requested site.
resin 3.1.1 / JDK 1.6

<resin:if test="${isResinProfessional}">
  <filter filter-name="gzip" filter-class="com.caucho.filters.GzipFilter"/>
  <filter-mapping url-pattern="/*" filter-name="gzip"/>
</resin:if>

Notes
(0001990)
ferg   
06-01-07 11:58   
server/183m