[commits] Horde branch master updated. ff3625258a707da0210cd266fb00163021171026
Michael M Slusarz
slusarz at horde.org
Tue Feb 5 04:51:37 UTC 2013
The branch "master" has been updated.
The following is a summary of the commits.
from: ddc7f7ca00c18e2041e7157d08f8a6b9aea8b872
ff36252 [mms] Fix regression in outputting Content-Disposition 'size' parameter if no other Content-Disposition parameter is present.
-----------------------------------------------------------------------
commit ff3625258a707da0210cd266fb00163021171026
Author: Michael M Slusarz <slusarz at horde.org>
Date: Mon Feb 4 21:44:46 2013 -0700
[mms] Fix regression in outputting Content-Disposition 'size' parameter if no other Content-Disposition parameter is present.
Partial revert of 9937e2d8c28655271243c0be07ac6763621ac9f6
That commit incorrectly ignored the 'size' parameter when determining
whether to output Content-Disposition header.
Instead... there is little need to add size information when using
parseMessage(). In fact, it is much more efficient to determine size
information by analyzing length of the temporary stream, rather than
determining size by using str_replace() on a string.
framework/Mime/lib/Horde/Mime/Part.php | 9 +--------
framework/Mime/package.xml | 4 ++--
framework/Mime/test/Horde/Mime/PartTest.php | 25 ++++++++++++++++++++-----
3 files changed, 23 insertions(+), 15 deletions(-)
http://git.horde.org/horde-git/-/commit/ff3625258a707da0210cd266fb00163021171026
More information about the commits
mailing list