mailcap entry for application/pdf needs quote marks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mime-support (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The entry for application/pdf in my /etc/mailcap reads as follows:
application/pdf; evince '%s'; test=test -n "$DISPLAY"; nametemplate=%s.pdf
If I try to open an attachment called "two words.pdf" (with a space in the name) in my mail client (mutt), I get two evince windows with errors. One says "Unable to open document “file:/
If I change the mailcap line to include single quotes around the %s.pdf as below, mutt can successfully open a pdf attachment with a space in the name:
application/pdf; evince '%s'; test=test -n "$DISPLAY"; nametemplate=
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: mime-support 3.54ubuntu1.1
ProcVersionSign
Uname: Linux 3.13.0-62-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.12
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Sep 10 16:24:08 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-07-05 (797 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
PackageArchitec
SourcePackage: mime-support
UpgradeStatus: Upgraded to trusty on 2014-04-24 (504 days ago)