|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
[2020-10-08 12:00 UTC] cmb@php.net
-Assigned To:
+Assigned To: cmb
[2020-10-08 12:19 UTC] cmb@php.net
[2020-10-19 15:52 UTC] cmb@php.net
-Status: Assigned
+Status: Open
-Assigned To: cmb
+Assigned To:
[2020-10-19 15:52 UTC] cmb@php.net
[2023-05-31 17:41 UTC] stevesmith22 at aol dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 22:00:01 2025 UTC |
Description: ------------ If NUL bytes are encoded in the encoded-word, the decoded text is truncated at that position. Test script: --------------- <?php var_dump(bin2hex(imap_mime_header_decode("=?UTF-8?Q?foo=00bar?=")[0]->text)); var_dump(bin2hex(imap_mime_header_decode("=?UTF-8?B?Zm9vAGJhcg==?=")[0]->text)); ?> Expected result: ---------------- string(14) "666f6f00626172" string(14) "666f6f00626172" Actual result: -------------- string(6) "666f6f" string(6) "666f6f"