Kelly Jones wrote:
>
>Thanks, Mark. I'm pretty sure there was a newline after the regexp.
>
>In fact, I dumped the config before we wiped out the filter:
>
>header_filter_rules = [('^x-spam-flag:.*yes\r\n\r\n', 3, False)]
>
>That second "\r\n" shouldn't be there, should it? Ouch!


That's correct. the second \r\n results in a null pattern (the null
string between the two \r\n pairs) that matches anything. I've fixed
this in Subversion for the next release. Empty and blank patterns will
be ignored. If you really want a pattern that matches anything, you'll
have to use '^' or '.'.

-- 
Mark Sapiro <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to