[php-src] PR #20677: Fix GH-20674 mb_decode_mimeheader does not handle separator
| From: | youkidearitai | Date: | Wed, 10 Dec 2025 13:51:29 +0000 |
| Subject: | [php-src] PR #20677: Fix GH-20674 mb_decode_mimeheader does not handle separator | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-34248@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/20677
Author: youkidearitai
Closes: #20674
In [RFC2047](https://www.ietf.org/rfc/rfc2047#section-2)
> An 'encoded-word' may not be more than 75 characters long, including
> 'charset', 'encoding', 'encoded-text', and delimiters. If it is
> desirable to encode more text than will fit in an 'encoded-word' of
> 75 characters, multiple 'encoded-word's (separated by CRLF SPACE) may
> be used.
?= =? is skipped if long term, so skip space character.
cc: @alexdowad