[Tickets #14086] Re: Image Attachments via ActiveSync: Last Byte Missing?

noreply at bugs.horde.org noreply at bugs.horde.org
Thu Aug 20 02:56:00 UTC 2015


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

Ticket URL: https://bugs.horde.org/ticket/14086
------------------------------------------------------------------------------
  Ticket             | 14086
  Updated By         | Git Commit <commits at lists.horde.org>
  Summary            | Image Attachments via ActiveSync: Last Byte Missing?
  Queue              | Synchronization
  Version            | FRAMEWORK_5_2
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Jan Schneider, Michael Rubinsky, slusarz at horde.org
------------------------------------------------------------------------------


Git Commit <commits at lists.horde.org> (2015-08-20 02:55) wrote:

Changes have been made in Git (master):

commit 97ad57bc3568286a14c41bc28d99f94bfce83d97
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date:   Wed Aug 19 22:52:00 2015 -0400

     Bug: 14086  Work around various broken PHP behaviours regarding  
stream filters.

     It appears to be safe to use the base64-encode filter when it's attached
     as a STREAM_FILTER_WRITE. The behavior is only broken when the stream is
     being read through the filter, so perform the filtering in this method
     instead of just attaching the filter to the stream that is passed to the
     wbxml encoder. Adds a small memory overhead but this now works reliably
     with packages such as Debian's that have removed the BC breaking PHP
     patch as well as with PHP binaries that have the change included.

  .../Message/AirSyncBaseFileAttachment.php          |   16 ++++++++++++++--
  1 files changed, 14 insertions(+), 2 deletions(-)

http://github.com/horde/horde/commit/97ad57bc3568286a14c41bc28d99f94bfce83d97





More information about the bugs mailing list