[Tickets #13587] MIME parsing breaks when boundary includes apostrophe

noreply at bugs.horde.org noreply at bugs.horde.org
Sat Sep 20 04:32:15 UTC 2014


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://bugs.horde.org/ticket/13587
------------------------------------------------------------------------------
  Ticket             | 13587
  Created By         | spamstop1 at terriertech.com
  Summary            | MIME parsing breaks when boundary includes apostrophe
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


spamstop1 at terriertech.com (2014-09-20 04:32) wrote:

Horde_Mime::decodeParam breaks when the MIME boundary contains an apostrophe.

The splitRegex (line 440 in Mime.php) seems to assume that apostrophes  
will enclose a string and not occur within it.  This means that the  
"boundary=" parameter is stripped out of the Content-Type header when  
it includes an apostrophe.

An example is attached.

The message body is OK, but since the boundary is missing from the  
Content-Type header it shows up blank in most mail clients.





More information about the bugs mailing list