Details
-
Bug
-
Status: Closed
-
Resolution: Inactive
-
5.2.3
-
None
-
None
-
WebSphere Application Server 6.1.0.27 on RHEL 3
Liferay 5.2.3
Description
GZip is not working with WebSphere Application Server 6.1due to the class
com.liferay.portal.servlet.filters.gzip.GZipFilter
which execludes WebSphere-Servers for Gzip compression.
I changed the class
public GZipFilter() if (super.isFilterEnabled()) { if (ServerDetector.isJBoss() || ServerDetector.isJetty() || ServerDetector.isJOnAS() || ServerDetector.isOC4J() || ServerDetector.isTomcat() || ServerDetector.isWebSphere() ) { ....... }
and tested it.
Gzip works with WebSphere Application Server 6.1.0.27 without any errors.