spamassassin-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 3749] message parser skips blank/invalid(?) parts
Date Sat, 04 Sep 2004 21:30:39 GMT

------- Additional Comments From  2004-09-04 14:30 -------
Created an attachment (id=2315)
 --> (
suggested patch

mostly does the same thing as before.  the original code specifically
disregarded parts in a multipart that had no body.

the new version makes the assumption that if there is no body, a blank one
should be assumed and the part added.

the second section (p_boundary ... parse_body) is the same as it was except for
whitespace changing.  that block adds the part appropriately into the tree.

the meat is in the first section where the main change is that if $part_array
isn't true (which only happens when it's not defined since it's an array
reference), we should generate a reference to an empty array as the part body.

passes "make test" for me

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

View raw message