summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-09-23 23:52:27 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2020-09-29 11:30:06 +0200
commit47a166c8378e8e670994f272c7f948b67014c619 (patch)
tree10433fa8f62d99ba3786644ff5587d61fe7c3696 /UPGRADING
parent9f5a77188c71bada8175dc48dd20847760bb7b10 (diff)
downloadphp-git-47a166c8378e8e670994f272c7f948b67014c619.tar.gz
Fix #78792: zlib.output_compression disabled by Content-Type: image/
Disabling output compression for images has served to fix bug #16109, where zlib compressed images apparently have caused issues with Navigator 4. This shouldn't be an issue with somewhat contemporary browsers. Other than that, this is an arbitrary restriction – why don't we disable the compression for some other media types as well (e.g. video/* and audio/*)? All in all, we should leave that decision to userland. Closes GH-6198.
Diffstat (limited to 'UPGRADING')
-rw-r--r--UPGRADING2
1 files changed, 2 insertions, 0 deletions
diff --git a/UPGRADING b/UPGRADING
index 9fdfe5b6bb..c2e425ef11 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -662,6 +662,8 @@ PHP 8.0 UPGRADE NOTES
. deflate_init() will now return a DeflateContext object rather than a
resource. Return value checks using is_resource() should be replaced with
checks for `false`.
+ . zlib.output_compression is no longer automatically disabled for
+ Content-Type: image/*.
========================================
2. New Features