[php-src] Issue #8218: ob_end_clean does not reset Content-Encoding header

From: Date: Thu, 24 Mar 2022 04:20:33 +0000
Subject: [php-src] Issue #8218: ob_end_clean does not reset Content-Encoding header
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-240473@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8218
Comment Author: arcanisgk

It seems to me that there is some kind of confusion; the target of ob_end_clean(); is
to clear the output buffer; but not to clean headers (correct me if I'm wrong); ideally
ob_end_clean(); respect the current header; any data output after
ob_end_clean(); will carry the initially configured header unless it is changed.


Thread (1 message)

  • arcanisgk
« previous php.bugs (#240473) next »