http://bugzilla.spamassassin.org/show_bug.cgi?id=4636


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
   Target Milestone|Undefined                   |3.2.0




------- Additional Comments From [EMAIL PROTECTED]  2005-10-18 10:11 -------
I would appreciate anyone objecting to having the Node object keep a pointer to
$main say what they suggest as an alternative.

Node::header() is a public interface, used by plugins.  It decodes MIME
encoded-words, removing the charset labels in the process.  The possible
alternatives are:

1) Call the plugin from within Node::header(), using a pointer to $main kept by
the Node object.

2) Call the plugin from within Node::header(), using a pointer to $main passed
in by the caller.  This would be an incompatible change to the public 
Node::header() interface.

3) Change the public Node::header() interface to return the raw form of the
header, requiring all callers that want the decoded form to call a newly defined
header-decoding method off of some object that has a pointer to $main.

4) Require the charset normalization code be hardwired into SpamAssassin, not in
a plugin.





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

Reply via email to