[php-src] PR #21020: Fix regression with header removing removing whole prefixes
| From: | NattyNarwhal | Date: | Fri, 23 Jan 2026 20:13:41 +0000 |
| Subject: | [php-src] PR #21020: Fix regression with header removing removing whole prefixes | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-34652@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21020
Author: NattyNarwhal
The header removal code looked for the colon for key-value at the wrong place, so it would
overzealously remove headers. Tweak that condition, and make the alternative condition only active
if it's set (with the remove prefix op case).
Fixes GH-21018.