Bug 352890

Summary: KMail 5.0.1 does not open attachment with # in its name
Product: [Applications] kmail2 Reporter: Daniele <denni.granata>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: major CC: winter
Priority: NOR    
Version: Git (master)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Daniele 2015-09-18 20:34:52 UTC
KMAil 5.0.1 is unable to open attachments with "#" in their names.

Reproducible: Always

Steps to Reproduce:
1.Rename a file inserting the char #
2.Send to yourself a mail with the file above attached
3.Try to open the file with an external program like 

Actual Results:  
The external program will not be able to open the attachment.

Expected Results:  
The external program should open the attachment.

Seem that kmail try to rename the attachment replacing the "#" with "%23", but the file in /tmp/messaggeviewer_xxx/ remains in the original form, so when the external program try to open the renamed file it complains that the file is not found.
Comment 1 Daniele 2015-10-21 09:56:48 UTC
The bugs seems resolved in kmail 5.0.2
thank you