Line following Approved: line in body of post is stripped

Bug #558214 reported by msapiro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Fix Released
Undecided
Unassigned

Bug Description

If a post contains an [Aa]pproved?: line as the first
non-blank line of the first text/plain part (and
doesn't contain an Approved?: header), the line itself
is deleted, but so is the first of the remaining lines.
If this first remaining line is a blank line which
preceeded the Approved: line, no harm is done, but if
there are no blank lines preceeding the Approved: line,
the line following the Approved: line which may be
non-blank is stripped.

This occurs because after the Approved: line is
removed, the remaining lines are re-joined beginning
with line 1 and not line 0.

The patch to Mailman/Handlers/Approve.py corrects this.

Revision history for this message
msapiro (msapiro-users) wrote :

The file Approve.patch was added: Patch to not strip line following Approved:

Revision history for this message
msapiro (msapiro-users) wrote :

Logged In: YES
user_id=1123998

Patch has been commited in CVS

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.