[kmail2] [Bug 379476] New: Renaming attachments should also change their Content-Disposition/filename attribute
Gunter Ohrner
bugzilla_noreply at kde.org
Wed May 3 13:16:06 BST 2017
https://bugs.kde.org/show_bug.cgi?id=379476
Bug ID: 379476
Summary: Renaming attachments should also change their
Content-Disposition/filename attribute
Product: kmail2
Version: 5.4.3
Platform: Neon Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: composer
Assignee: kdepim-bugs at kde.org
Reporter: kdebugs at CustomCDROM.de
Target Milestone: ---
1) Attach a file to a message.
2) Right-click the attachment, choose Properties and change the attachment's
name.
Result: The "Content-Type" "name" attribute is changed, as follows:
Content-Type: application/pdf; name="new_name.pdf"
The "Content-Disposition" "filename" attribute stays unchanged, though:
Content-Disposition: attachment; filename="orig_name.pdf"
Somewhat counter-intuitive, this will in most cases cause the attachment to be
called "orig_name.pdf" on the receiver's side, not "new_name.pdf" as one might
expect when using the properties dialog.
By default, the name and filename attributes are set to the same values by
kMail, as far as I can see.
Either the "name" field should change both values, or there should be a
separate "File Name" property.
Maybe interesting in this regard:
https://mailarchive.ietf.org/arch/msg/ietf-smtp/KtN0TdoHDayKvKycNbsFD-GB-e4#
Wishlist item Bug #311179 may be related.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list