Closed Gazoo closed 5 years ago
It looks like this might have worked before but is_delimited_regexp_valid
expects proper delimiters to be set. Maybe use is_regexp_valid
instead?
Here is the fix: https://gist.github.com/Gazoo/333e55d43d3425cd632e56afc9913d07
Gazoo - thanks for the info, I'm going to test this fully with older versions of SA as well as my other plugins.
Thanks for the heads up!
Should be resolved! Thanks again
I was testing this plugin and it looks like there is a bug with any of the regex config options. The
is_delimited_regexp_valid
method is called and it expects the value to be wrapped in proper delimiters (which it is not). Also you can't just set the delimiters to the config lines as they are already wrapped in delimiters though out the code (so they would be double wrapped). The fix would be to just wrap them when passing them into theis_delimited_regexp_valid
method.To test just set the defaults in
local.cf
:Restarting Spamassassin from a recent build: