| Summary: | gzip compression broken in UniFi (built-in tomcat) | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Luca Olivetti <luca> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | lewyssmith, marja11, sysadmin-bugs |
| Version: | 6 | Keywords: | PATCH, UPSTREAM, advisory, validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | https://github.com/madler/zlib/commit/f9694097dd69354b03cb8af959094c7f260db0a1.patch | ||
| See Also: | https://launchpad.net/bugs/1692870 | ||
| Whiteboard: | MGA6-64-OK | ||
| Source RPM: | zlib-1.2.11-4.mga6.src.rpm | CVE: | |
| Status comment: | |||
|
Description
Luca Olivetti
2017-10-25 13:08:33 CEST
(In reply to Luca Olivetti from comment #0) > The guest portal in unifi (java server with built-in tomcat) doesn't work > with this version of zlib (it gives an ERR_CONTENT_DECODING_FAILED or en > equivalent message both in chromium and firefox). > > The same upstream commit that fixes it in ubuntu also fixes it in mageia 6 > (tested with a locally build rpm) > > > https://github.com/madler/zlib/commit/ > f9694097dd69354b03cb8af959094c7f260db0a1.patch Thanks for the test. You might want to consider becoming a Mageia packager, so that you can push such fixes to 6/updates_testing :-) Our zlib maintainer maintains way too many packages, I think he'd be happy to get a hand. URL:
https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/1692870 =>
https://github.com/madler/zlib/commit/f9694097dd69354b03cb8af959094c7f260db0a1.patch uploaded to 6/updates_testing ad subrel 1 / rel 4. Please test. I can confirm that lib64zlib1-1.2.11-4.1.mga6.x86_64.rpm fixes the issue. @Marja, sorry, I cannot commit to be a packager Luca, maybe you can write an update advisory explaining what just got fixed and assign this bug to qa-bugs@ml.mageia.org, so the update can be released. Updated packages: libzlib1-1.2.11-4.1.mga6 libzlib-devel-1.2.11-4.1.mga6 libminizip1-1.2.11-4.1.mga6 libminizip-devel-1.2.11-4.1.mga6 from zlib-1.2.11-4.1.mga6.src.rpm Whiteboard:
(none) =>
MGA6-64-OK I'll try: zlib 1.2.11 breaks the gzip content compression in UniFi guest portal (tomcat server) and probably other java tools that rely on zlib. This package applies a patch from upstream that fixes the issue. See also: https://bugs.launchpad.net/ubuntu/+source/zlib/+bug/1692870 https://community.ubnt.com/t5/UniFi-Wireless/ERR-CONTENT-DECODING-FAILED-on-guest-portal-customisation/td-p/1903419 Upstream commit: https://github.com/madler/zlib/commit/f9694097dd69354b03cb8af959094c7f260db0a1 Assigning to QA. Status:
NEW =>
ASSIGNED Advisory from comments 4 & 5. Keywords:
(none) =>
advisory Validating as it already has a 64-bit OK, and is obscure. Keywords:
(none) =>
validated_update An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2017-0125.html Status:
ASSIGNED =>
RESOLVED |