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

noreply at bugs.horde.org noreply at bugs.horde.org
Sun Sep 21 09:29:33 UTC 2014


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

Ticket URL: https://bugs.horde.org/ticket/13587
------------------------------------------------------------------------------
  Ticket             | 13587
  Updated 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-21 09:29) wrote:

I tried changing the regex to
         $splitRegex =  
'/([^;\'"]*([\'"])((?:(?!\1).)+)(?1)[^;\'"]*|([^;]+))(;|$)/';

It fixed the problem.

I tried a few other phones and it didn't break anything on them, but I  
don't have an extensive set of test messages to test with.





More information about the bugs mailing list