Roundup Tracker - Issues

Issue 827775

classification
wrong signature pattern
Type: Severity: normal
Components: Mail interface Versions:
process
Status: closed fixed
:
: jlgijsbers : jlgijsbers, stefan
Priority: normal :

Created on 2003-10-21 20:26 by stefan, last changed 2003-10-24 15:01 by jlgijsbers.

Messages
msg1016 Author: [hidden] (stefan) Date: 2003-10-21 20:26
I recently mailed to the tracker a mail containing
---
lines (to mark up code snippets), but the mail gateway
removed everything below it.

Looking into the code I find the pattern for the
signature to be
signature=re.compile(r'^[>|\s]*[-_]+\s*$')

(mailgw.py, line 1111),

and I'm wondering why that doesn't simply read

 signature=re.compile(r'^-- $').

As far as I know, it's really '--' that should be
matched, not any number of '-' greater than 1.
msg1017 Author: [hidden] (jlgijsbers) Date: 2003-10-24 15:01
Logged In: YES 
user_id=469548

Fixed on HEAD.
History
Date User Action Args
2003-10-21 20:26:28stefancreate