#3728: unable to view encrypted multipart attachments
-------------------------+-------------------------------------------------
Reporter: rejozenger | Owner: mutt-dev
Type: defect | Status: closed
Priority: minor | Milestone:
Component: crypto | Version: 1.5.23
Resolution: fixed | Keywords: attachements, encryption,
| multipart/encrypted
-------------------------+-------------------------------------------------
Changes (by Kevin McCarthy <kevin@…>):
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"052ad4fcdd6b98a0d91a7d0d0a57e9f385c60cd8"
7128:052ad4fcdd6b]:
{{{
#!CommitTicketReference repository=""
revision="052ad4fcdd6b98a0d91a7d0d0a57e9f385c60cd8"
Add edit-content-type helper and warning for decrypted attachments.
(closes #3728)
Regenerating the actx index will overwrite any changes made to a
decrypted attachment. Change the mutt_edit_content_type() function to
return 1 when a structural change is made. Add a warning message when
that is the case and a decrypted message was edited, so the user is
not surprised.
Note: mutt_edit_content_type() appeared to regenerate multipart
subparts every time, leading to a memory leak. I believe this was an
oversite, and it should have regenerated only when there were no
subparts, so have "fixed" this.
}}}
--
Ticket URL: <https://dev.mutt.org/trac/ticket/3728#comment:9>
Mutt <http://www.mutt.org/>
The Mutt mail user agent