[imp] wrong attachment size calculated

Martin Kaehmer martink-ml at gmx.net
Sat Aug 2 09:52:55 PDT 2003


Hi all,

guess that's a bug in imp (cvs 29.07.2003): say, you have set the 
attach_size_limit to 5M. Attaching a single file >5M is prevented, but 
attaching 2x3M is allowed. Same thing happens forwarding a mail.

This patch seems to work but isn't heavily tested. Besides I don't know 
whether all cases are matched. Could anybody have a look at it?

cheers,
Martin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Compose.php.attach_size.patch
Type: application/octet-stream
Size: 1108 bytes
Desc: not available
Url : http://lists.horde.org/archives/imp/attachments/20030802/40185f04/Compose.php.attach_size.obj


More information about the imp mailing list