https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8559
Sidney Markowitz <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #6266|0 |1 is obsolete| | Attachment #6267|0 |1 is obsolete| | Attachment #6268|0 |1 is obsolete| | Attachment #6269|0 |1 is obsolete| | Attachment #6270|0 |1 is obsolete| | Attachment #6271|0 |1 is obsolete| | Attachment #6272|0 |1 is obsolete| | Attachment #6273|0 |1 is obsolete| | CC| |[email protected] --- Comment #9 from Sidney Markowitz <[email protected]> --- Created attachment 6275 --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=6275&action=edit remove /o where the interpolated pattern can change between calls Thanks for the report and the careful analysis, Bertrand. I went through every regex in the tree that has /o and interpolates a variable. The 13 you found are the ones where the pattern can change from one call to the next. In the others the interpolated value is a constant, so /o does no harm there. You don't have a CLA on file. That isn't a problem in this case, where the code change is just removing a character from 13 regexps, but if you think you might make more complex contributions in the future, please fill one out at https://www.apache.org/licenses/contributor-agreements.html#submitting I have written my own combined patch in one file for these problems instead of committing your series. It removes only the o at each of the 13 places to keep each change to the one character. I left the mailto match in FreeMail.pm alone, because email_regex is the same for every object. The tests are added to t/freemail.t, t/header.t and t/uri_text.t instead of new files. They cover the FreeMail rule regexes, welcomelist import, delete_header() and the TLD list for text URIs. The other places affect only sa-learn --dump, mass-check --rules and a log line, so I did not add tests for those. I also added a sentence to the freemail_domains documentation saying that each line adds to the default list from sa-update. -- You are receiving this mail because: You are the assignee for the bug.
