https://bz.apache.org/bugzilla/show_bug.cgi?id=66511
Bug ID: 66511 Summary: GZipOutputFilter overwrites chunk instead of reading it Product: Tomcat 10 Version: 10.1.7 Hardware: PC OS: Mac OS X 10.1 Status: NEW Severity: normal Priority: P2 Component: Connectors Assignee: dev@tomcat.apache.org Reporter: pouts...@vmware.com Target Milestone: ------ In GzipOutputFilter::doWrite, if the given ByteBuffer is not backed by an array, it gets overwritten with empty data. See https://github.com/apache/tomcat/blob/main/java/org/apache/coyote/http11/filters/GzipOutputFilter.java#L73 Suggested solution: Replace ByteBuffer::put with ByteBuffer::get. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org