[php-src] PR #24459: Fix GH-24458: quoted_printable_encode does not encode trailing space
| From: | lazerg | Date: | Tue, 20 Oct 2026 10:52:45 +0000 |
| Subject: | [php-src] PR #24459: Fix GH-24458: quoted_printable_encode does not encode trailing space | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-39634@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/24459
Author: lazerg
php_quot_print_encode() already encodes a space when a CRLF follows it, but not when
the space is the last byte of the input. The end of the input is also the end of an encoded line, so
RFC 2045 requires =20 there too. The check now covers both cases.
Fixes GH-24458