[Bug 1300484] Re: run-mailcap opens file as application/x-troff-man by mistake

Launchpad Bug Tracker 1300484 at bugs.launchpad.net
Wed May 7 10:29:15 UTC 2014


** Branch linked: lp:debian/mime-support

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mime-support in Ubuntu.
https://bugs.launchpad.net/bugs/1300484

Title:
  run-mailcap opens file as application/x-troff-man by mistake

Status in “mime-support” package in Ubuntu:
  New

Bug description:
  Running `run-mailcap --action=view dir-1.2/readme` processes the file
  as `application/x-troff-man` although it isn't. I expected the command
  to fail instead. The reason seems to be that the last pattern in
  `%patterntypes` (`'\.\d[^\.]*$'`) is not strict enough. Changing it to
  `'\.\d[^\./]*$'` fixes things for me.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: mime-support 3.54ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-18.32-generic 3.11.10.4
  Uname: Linux 3.11.0-18-generic x86_64
  ApportVersion: 2.12.5-0ubuntu2.2
  Architecture: amd64
  Date: Tue Apr  1 00:11:24 2014
  InstallationDate: Installed on 2012-11-05 (511 days ago)
  InstallationMedia: Xubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.1)
  MarkForUpload: True
  PackageArchitecture: all
  SourcePackage: mime-support
  UpgradeStatus: Upgraded to saucy on 2013-10-20 (161 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mime-support/+bug/1300484/+subscriptions



More information about the foundations-bugs mailing list