<<< Date Index >>>     <<< Thread Index >>>

mutt/2335: <attach-message> munges messages containing DEL



>Number:         2335
>Notify-List:    
>Category:       mutt
>Synopsis:       <attach-message> munges messages containing DEL
>Confidential:   no
>Severity:       normal
>Priority:       medium
>Responsible:    mutt-dev
>State:          open
>Keywords:       
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 07 11:57:24 +0200 2006
>Originator:     Alain Bench <veronatif@xxxxxxx>
>Release:        1.5.11 (CVS 2006-07-05)
>Organization:
>Environment:
>Description:
Hi ALL.

    Compose:<attach-message> function extracts a message from a folder,
and attaches it as message/rfc822. The message is sent as-is. Verbatim
body, and nearly verbatim header, except removal of local only scope
lines as From_, (X-)Status:, Content-Length:, and Lines:.

    The attached mbox contains one message, a table of bytes from 20 to
FF, text/plain 8bit CP-1252. When I <attach-message> it, Mutt modifies
the message:

 -1) transcodes 8bit ==> QP
 -2) adds spurious field:

| Content-Disposition: inline; filename=mutt-$HOSTNAME-$UID-$PID-8

    The trigger seems to be the presence of control char 7F (DEL).
Effect (1) is unexpected, breaks the "verbatim" goal, and hurts the
whole purpose of sending such tables. But perhaps has some reason.
Effect (2) discloses private infos: Bad.


Bye!    Alain.
>How-To-Repeat:
>Fix:
>Add-To-Audit-Trail:

>Unformatted:
 ----gnatsweb-attachment----
 Content-Type: application/x-gzip-compressed; name="fulltable-CP-1252.mbox.gz"
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment; filename="fulltable-CP-1252.mbox.gz"
 
 H4sICIwurkQCA2Z1bGx0YWJsZS1DUC0xMjUyLm1ib3gAjdLndxRlFMfx989f8bVhwUme3c0mu5MQ
 slUTjMZkiSiizu4+m2zczKwzsynYUJEiSLFSxAJiBSwUe+8dlGJvNAWkIyqKPgmeo5zjC+/rz7m/
 e++5adfpxSpZRZtMRdFSsQkECIZMGTZDUYJSBkVaG5PYMIorO9dNQ59yHdvyi4WmgqtUVcFtFB2V
 bI/K+SaZVEeGQqVUwreyJUWizQgEw0Ei2aIvWpXnWV3KaE6aNAyhYWP8bYxIvCnv9OqgqpzT2yia
 baNdlUuDRsY5jvvK84+Drc2tKaNTuV7RsU0CVVIkHNtXtm9kBsvKxFcDfnV5aIN6ct2W6yl/VH/R
 zjv93nDwP9y1bK+gXCNl55x80e4yj80t0CXRpyFEDWFqqSNClBhxEiRJkRYiKIfYCZzISZzMKYzg
 VE7jdM5gJGdiUEU1+qYiJP+7mUk9DYyikdEQkqJGu6Z/R3AWZ9NMC2M4h1bO5TyokSKsXRvn004H
 GcbSyQWM40IuYjwXM4FLuBTCUtRqdxkWWXLkURToopsiPVxOiV5sHKiVok67Mlfg4uFToY9+Bhhk
 IldyFVdzDddCnRQR7SZxHddzA5O5kSlMZRrTuYkZzORmZjEbIlJEtZvDXG7hVm7jdu7gTuYxnwUs
 5C4WcTf3QFSKmHb3ch+LWcL9LOUBHuQhHuYRHmUZy1nBYxCTIq7d4zzBk6xkFatZw1M8zTM8y3M8
 zwu8yEsQ10+g3cu8wqu8xuu8wZu8xdu8w7u8x/t8wId8BAkpktqtZR0f8wnr2cBGNvEpn/E5X/Al
 X/E130BSipR23/Id37OZLWxlG9v5gR/ZwU528RO72QMpKdLa7WUf+znAQQ7xM4f5hV/5jSP8zh8c
 5U9Iy//5VX8Buv2P2qQDAAA=