Public bug reported: When attempting to attach a file from the command line using "evolution 'mailto:?attachment=file:///...' " and the filename has a "#" (0x23) in it, the filename gets truncated at the "#", and therefore cannot attach the file. URI-encoded filenames have the same problem (with %23).
This is a fairly serious problem since OpenOffice uses this method for attaching files with choosing "File -> Send..". So any OpenOffice document with "#" in the filename, cannot be sent with evolution. (of course workaround is saving the file, and then launching evolution, and attaching from a compose window ... a total pain). **Steps To Reproduce... Create an OpenOffice document with a "#" in the name.. set evolution as your mail handler.. and try to send the document. OR try from the command line: evolution 'mailto:?attachment=file:///home/user/some # document' Below is example of how OO uri-encodes the filename, but evolution still truncates after the %23 ++ echo 'file:///tmp/svjia.tmp/svjm4.tmp/K1 London #2 (asdf) CofA.pdf' ++ /usr/lib/openoffice/program/uri-encode + MAILTO='attachment=file:///tmp/svjia.tmp/svjm4.tmp/K1%20London%20%20%232%20%20%20(asdf)%20CofA.pdf' + shift + shift + '[' '' '!=' '' ']' + MAILTO='mailto:?attachment=file:///tmp/svjia.tmp/svjm4.tmp/K1%20London%20%20%232%20%20%20(asdf)%20CofA.pdf' + evolution 'mailto:?attachment=file:///tmp/svjia.tmp/svjm4.tmp/K1%20London%20%20%232%20%20%20(asdf)%20CofA.pdf' + exit 0 ** Affects: evolution (Ubuntu) Importance: Undecided Status: New -- evolution mailto CLI cannot handle attachments with "#" in filename https://bugs.launchpad.net/bugs/304036 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs