[bug #4569] Problem with unfolding can mess up boundary processing in multipart messages

2003-08-07 14:58:18

=================== BUG #4569: LATEST MODIFICATIONS ==================

Changes by: Earl Hood <earl(_at_)earlhood(_dot_)com>
Date: Thu 08/07/2003 at 16:56 (US/Central)

            What     | Removed                   | Added
              Status | Open                      | Closed
       Fixed Release | CVS                       | 2.6.7

=================== BUG #4569: FULL BUG SNAPSHOT ===================

Submitted by: ehood                   Project: MHonArc                      
Submitted on: Thu 07/31/2003 at 22:44
Category:  Mail Parsing               Severity:  5 - Major                  
Bug Group:  Incorrect Behavior        Resolution:  Fixed                    
Assigned to:  None                    Status:  Closed                       
Platform Version:  All                Perl Version:  All                    
Component Version:  <=2.6.6           Fixed Release:  2.6.7                 

Summary:  Problem with unfolding can mess up boundary processing in multipart 

Original Submission:  (This is a clarified bug report submitted by Sean Dague to
 dev list)

There actually two problems:

* Unfolding is incorrectly done by removing the first
  whitespace character from the line that is unfolded
  back.  This is an ugly (incomplete) hack to facilitate
  non-ascii decoding.  Normally, this hack does not
  affect other mail parsing tasks, except when it cause
  the next problem to occur,

* Extracting the boundary delimiter from the content-type
  field did not work properly if the boundary was not
  quoted and no space existed after the ';' and the next
  attribute.  Example: boundary=XXX;protocal=...
  This condition occurred once in awhile when the
  content-type field was folded and the unfolding caused
  the whitespace between two tokens to be dropped.

Follow-up Comments

Date: Sat 08/02/2003 at 01:07       By: ehood
Fixes made in and checked into CVS.

CC list is empty

No files currently attached

For detailed info, follow this link:

  Message sent via/by Savannah

To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the

<Prev in Thread] Current Thread [Next in Thread>