viewing attachments fails when filenames have spaces
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
flim (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: flim
I encountered a problem opening (playing) attachments in an external program, when the designated file name contained spaces. I traced this to an issue of double-quoting. In my /etc/mailcap on Ubuntu 10.04, it says something like
application
Because of those single quotes, it is incorrect to quote the spaces in the filename. However, mime-format-
evince '/tmp/blahblah/My\ Silly\ Proposal.pdf'
And so evince opens up but says "File cannot be opened" because it's looking for a file with literal backslashes in the name.
Probably, removing shell-quote-
Best wishes,
Chris
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: flim 1:1.14.9-4.1
ProcVersionSign
Uname: Linux 2.6.32-25-generic i686
Architecture: i386
Date: Wed Nov 17 15:46:23 2010
Dependencies: apel 10.7-3
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/zsh
SourcePackage: flim
Fixed in Debian.
flim (1:1.14. 9+0.20120428- 9) unstable; urgency=medium 1_14-wl. patch on 2014-09-15
.
* Sync 010_flim-
- Workaround to handle '%s' in /etc/mailcap (closes: #572993)
cf. bugs.debian. org/cgi- bin/bugreport. cgi?bug= 572993 /github. com/wanderlust/ flim/pull/ 3
http://
https:/