https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6582

--- Comment #5 from Henrik Krohns <[email protected]> 2011-05-08 07:05:44 UTC ---
Here's a quick recap of current code:


pms/get_decoded_stripped_body_text_array = msg/get_rendered_body_text_array

For each part:

- Add Subject to $body
- Add rendered() to $body:
  - Skip unless text/plain or text/html
  - decode() qp and base64
  - Normalize to latin1 using Encode::Detect and utf8::downgrade if
normalize_charset 1
  - Render HTML if detected as such

Used by:

Check.pm  (body tests, body eval tests)
TextCat.pm
OneLineBodyRuleType.pm  (compiled rules)
VBounce.pm  (check_whitelist_bounce_relays, searches Received: lines from body)
FreeMail.pm  (finds emails from body)
BodyEval.pm  (_check_stock_info, _multipart_alternative_difference)
get_content_preview  (not nice to see binary here..)
_get_parsed_uri_list   (note: used to use decoded_body)



pms/get_decoded_body_text_array = msg/get_decoded_body_text_array

For each part:

- Skip unless text/* or message/*
- Skip text/calendar
- decode() qp and base64
- Add all to $body

Used by:

Check.pm  ($bodytext, rawbody tests, rawbody eval tests)
BodyEval.pm  (check_blank_line_ratio)

-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to