Issues

ZF-3949: Wrong parsing of boundary value ?

Issue Type: Bug Created: 2008-08-14T08:56:11.000+0000 Last Updated: 2008-09-12T13:09:28.000+0000 Status: Resolved Fix version(s): Reporter: Jérémie Ledentu (jeremiel) Assignee: Nico Edtinger (nico) Tags: - Zend_Mime

Related issues: - ZF-3318

Attachments:

Description

Hi all. I use Zend_Mail in order to read POP3 messages, extracting parts from multipart mails.

But in a particular mail (a confirm mail I received from voila.fr website), 'boundary' value is described like this :

Content-Type: multipart/mixed; boundary = bc34b90a236c267d1df0a9163df115a3b

There is a whitespace between '=' and the boundary value, so (I think) Zend_Mime_Decode::splitMessageStruct() doesn't parse boundary lines correctly. I used the trim function on $boundary (in Zend_Mail_Part::_cacheContent), and it works, parts are well extracted, but it's a temporary solution.

Is there a bug in Zend_Mime_Decode::splitHeaderField(), Is this method too RFC-strict ? I'm a beginner so I'm not sure. :)

Edit : this issue is similar to ZF-3318 issue. Sorry, this one can be removed.

Comments

No comments to display

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts