Some header filter regexps don't work.
When a pattern is entered in the Header filters form, it appears that pattern is treated as a raw string because a pattern such as, for example, \d+@qq\.com
ends up in the list's HeaderMatch.pattern as \\d+@qq\\.com
. This makes it impossible to enter patterns containing \
characters and have them work as intended.
I've looked at the code and I'm not even certain that it's Postorius doing this, but it appears to be the Django form.cleaned_data()
method that may be responsible.