[php-src] PR #22579: ext/session: reject non-numeric session.upload_progress.freq
| From: | jorgsowa | Date: | Fri, 03 Jul 2026 17:03:45 +0000 |
| Subject: | [php-src] PR #22579: ext/session: reject non-numeric session.upload_progress.freq | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-36808@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/22579
Author: jorgsowa
OnUpdateRfc1867Freq silently truncates trailing characters (e.g. "5 apples"
becomes 5), the same parsing bug recently fixed for
[session.cookie_lifetime](https://github.com/php/php-src/pull/21704). Switch to
is_numeric_string_ex() to validate the numeric portion strictly, still allowing the
optional trailing "%" for percentage mode.