You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2018/03/04 15:37:34 UTC

[Bug 62154] New: Custom compressible mimetypes aren't properly used

https://bz.apache.org/bugzilla/show_bug.cgi?id=62154

            Bug ID: 62154
           Summary: Custom compressible mimetypes aren't properly used
           Product: Tomcat 9
           Version: 9.0.5
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connectors
          Assignee: dev@tomcat.apache.org
          Reporter: Tim.Ysewyn@me.com
  Target Milestone: -----

When calling setCompressibleMimeType in CompressionConfig,
compressibleMimeTypes is reset, which is only populated when calling
getCompressibleMimeTypes.
The method useCompression is using the variable compressibleMimeTypes directly,
which is null, causing compression to be applied in scenarios where we don't
want it to happen.

I tested this trying to add servlet 4.0 support in Spring Boot 2.x.
The test that fails is noCompressionForMimeType while running
TomcatServletWebServerFactoryTests.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 62154] Custom compressible mimetypes aren't properly used

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62154

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
                 OS|                            |All

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Already fixed in trunk and 8.5.x.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org