php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7496 imap_fetchbody handling of part numbers in forwarded messages
Submitted: 2000-10-27 18:56 UTC Modified: 2000-12-07 11:59 UTC
From: owain at vaughan dot com Assigned:
Status: Closed Package: IMAP related
PHP Version: 4.0.3pl1 OS: SunOS 5.7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: owain at vaughan dot com
New email:
PHP Version: OS:

 

 [2000-10-27 18:56 UTC] owain at vaughan dot com
With forward messages that have a text/plain (2.1.1) and
text/html (2.1.2) subpart of a multipart/alternative part
(2.1) the imap_fetchbody function returns nothing for parts
2.1.1 and 2.1.2, but returns the parts when a request is made
for 2.1 and 2.2.

Part 2.1 should really return nothing, as it contains two
alternative subparts, and part 2.2 doesn't even exist.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-28 02:11 UTC] chagenbu@php.net
Do you have code to reproduce this? I've replicated the message you describe, and IMP (a webmail client written in php) handles it fine - the parts are 2.1.1 and 2.1.2, and fetching them produces the expected results.
 [2000-10-28 02:13 UTC] chagenbu@php.net
the exact test message might also be useful...
 [2000-12-07 11:59 UTC] sniper@php.net
Reopen, if this still happens when using latest snapshot
from http://snaps.php.net/

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 10:01:26 2024 UTC