https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7144

--- Comment #9 from Mark Martinec <[email protected]> ---
> I haven't tested but what he described was if you add normalize_charset 1 to
> rules/local.cf so that a default install would have it turned on, a make
> test fails cross_user_config_leak.t

It's a quirk of the test itself. Adding any other boolean setting
to rules/local.cf will produce the same failure:

rules/local.cf :
  normalize_charset 1
  always_trust_envelope_sender 1

$ prove t/cross_user_config_leak.t   

t/cross_user_config_leak.t .. 1/6 found='1' wanted=(none)
key='normalize_charset' when=...line 266.
found='1' wanted=(none) key='always_trust_envelope_sender' when=...line 266.
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Failed test 4 in t/cross_user_config_leak.t at line 89
found='1' wanted=(none) key='normalize_charset' when=...line 266.
                             ^^^^^^^^^^^^^^^^^

The default needs to be changed in Conf.pm.


Btw, while investigating the abov I found a bug in Conf.pm for setting
of normalize_charset, which has been there since forever but went by
unnoticed: it was only possible to turn this setting on, but not to
turn it off again. Fix:
  Sending lib/Mail/SpamAssassin/Conf.pm
Committed revision 1673314.

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

Reply via email to