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





------- Additional Comments From [EMAIL PROTECTED]  2005-02-07 05:26 -------
FWIW: the Message code returns the *last* header when queried in scalar mode. 
In my testing pre-3.0, MUAs by default use the last header when faced with a
choice (Content-Type, etc.)

Looking at the header rule code, though, it calls PMS::get() (which really calls
PMS::_get()), which looks as if it joins all the header values together into a
single scalar.  So:

Header: Teststring
Header: Test2string

becomes "Teststring\nTest2string"

and

Header: Test2string
Header: Teststring

becomes "Test2string\nTeststring"

So "Header =~ /^Teststring/m" would catch that, but normal "^Teststring" won't,
obviously.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to