related to: https://dev.gnupg.org/T7722
Saving encrypted mails with attachments that have long names has several issues.
Given a freshly encrypted draft with three attachments for each issue:
- test.pdf
- long.name.with.dot.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.12.odt
- long-name-without-dot-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789-123456789.odt
Issue of renaming
- Create Draft with attachments described above
- Preview Draft
- Select another Draft
- Select Draft again => Attachments with long names are renamed to attachment.odt (also happens on open/close/open)
gpgol.log
Issue of deletion
Currently not reproducible reliable, but sometimes on deletion of a "attachment.odt" outlook tells me, that the attachment is part of the encrypted message and cannot be deleted (deletion happens though):
Issue of sending
- Create Draft with attachments described above
- Open Draft in it's own window (long names still displayed)
- Add a recipient/subject and send => Error: attachment "attachment.odt" is an outlook item (see details in image)
gpgol.log
Also happens on a second draft save:
- Create Draft with attachments described above
- Save
- Add To, Subject, Body
- Save => Error: attachment "long.name[...]" is an outlook item (see details in image)
gpgol.log
Issue of unsaved changes on closing Outlook
To reproduce:
- Create Draft with attachments described above
- Preview Draft
- Select another Draft
- Select Draft again => Attachments with long names are renamed to attachment.odt
- Select another Draft again
- Close Outlook => "Want to save your changes?" (Note: Cancel also closes Outlook)
gpgol.log