[php-src] PR #26013: CLI server: Reject ambiguous request framing
| From: | imattas | Date: | Wed, 02 Dec 2026 02:25:58 +0000 |
| Subject: | [php-src] PR #26013: CLI server: Reject ambiguous request framing | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-41344@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/26013
Author: imattas
Reject a second Content-Length field and requests combining Content-Length with chunked
Transfer-Encoding. Also connect the strict parsing option to its declared PHP_HTTP_PARSER_STRICT
macro. This prevents the CLI parser from choosing a body boundary that differs from a
frontend's interpretation.\n\nFinding: sapi.cli.ambiguous-http-request-framing\n\nValidation:
static source and diff review; runtime tests not run.