[php-src] PR #23260: ext/phar: Only treat files with a `.phar` suffix as phar files when including
| From: | LamentXU123 | Date: | Thu, 13 Aug 2026 18:48:36 +0000 |
| Subject: | [php-src] PR #23260: ext/phar: Only treat files with a `.phar` suffix as phar files when including | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-37837@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23260
Author: LamentXU123
So we don't trigger the .phar unserialization process when include files like 1.phar.png or
.pharabcd/1.html. Only treat them as phar files when they comes with a
.phat suffix.