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

From: Date: Tue, 12 Apr 2022 14:17:31 +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-240901@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8218 Comment Author: arcanisgk @DanielnetoDotCom Thank you so much; but I have a curiosity, we do not know if this is going to be solved in future versions; It would be convenient to always clean the header. ```php function _ob_end_clean(){ ob_end_clean(); header_remove("Content-Encoding"); } ```

« previous php.bugs (#240901) next »