Bug #80201 [NEW]: incomplete header returned
From: smile dot 80 at bk dot ru
Operating system: linux/windows
PHP version: 7.4.11
Package: IMAP related
Bug Type: Bug
Bug description:incomplete header returned
Description:
------------
---
From manual page: https://php.net/function.imap-fetchheader
---
It is difficult to describe the error.
The letter header contains the # 00 symbol in the header value. It is
included in the ASCII table and does not contradict RFC 2822.
Imap_fetchheader returns all headers up to # 00.
For example heading:
Message-Id: <20201007090331 .3VdeNwPA @ mxfront10o.mail.yandex.net>
Where after ..0331 (# 00)
The function will return (string) "Message-Id: <20201007090331"
Test script:
---------------
imap_fetchheader ( $imap_stream , $$msg_number );
--
Edit bug report at https://bugs.php.net/bug.php?id=80201&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=80201&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=80201&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=80201&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=80201&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=80201&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=80201&r=support
Expected behavior: https://bugs.php.net/fix.php?id=80201&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=80201&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=80201&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=80201&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80201&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=80201&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=80201&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=80201&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=80201&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=80201&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=80201&r=mysqlcfg
Thread (3 messages)
- smile dot 80 at bk dot ru