Red Hat Bugzilla – Bug 843545
Evince gives a wrong filename to an email client when using the Send To function, should the filename have spaces
Last modified: 2014-06-18 04:11:40 EDT
Description of problem:
When using the 'Send To' function from Evince using the Email method, evolution fails to open the file for attaching it to the message if the file contained spaces. Reason is that evince replaces spaces with '0' characters in place of escaping them properly.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install evolution and make sure it's selected as a default email client, you might also need some email account configured first.
2. In evince, open a file with a filename containing spaces.
3. Do File->Send To, select Email method, type in some address and press Send
Evolution starts up complaining it can't open the file for attachment:
(File name was 'sam ple.pdf')
Error dialog in evolution compose message screen:
"Error when getting information for file '/home/vhumpa/documents/sam00ple.pdf': No such file or directory"
Path string has the space characters escaped fine and the file attaches
Relevant terminal output from evince:
** Message: Mailer type: 0
** Message: Command: evolution mailto:"firstname.lastname@example.org"?attach="file:///home/vhumpa/documents/sam00ple.pdf"
This seems to be fixed in nautilus-sendto-3.6.0-1.el7 and evince-3.6.0-1.el7. The PDF file is attached correctly.
This request was resolved in Red Hat Enterprise Linux 7.0.
Contact your manager or support representative in case you have further questions about the request.