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

Launchpad Bug Tracker 1300484 at bugs.launchpad.net
Tue May 13 20:16:22 UTC 2014


This bug was fixed in the package mime-support - 3.55ubuntu1

---------------
mime-support (3.55ubuntu1) utopic; urgency=medium

  * Resynchronise with Debian.  Remaining changes:
    - Add "cautious-launcher" for handling execution of files that are
      outside /usr and /opt.

mime-support (3.55) unstable; urgency=low

  * Media types removed:

  92def2a application/x-font-woff       Closes: #727156
  c1797d2 application/x-md5             Closes: #720619
  fad5967 application/x-sha1            Closes: #720619
  a71f2b0 text/x-vcard                  Closes: #674670

  * Media types added:

  0d95409 application/font-sfnt
  0d95409 application/font-tdpfr
  0f12ec4 application/font-woff
  020388a application/gzip              Closes: #589991, 688872
  77eee72 application/oebps-package+xml    See: #712054
  ae8262a application/x-font-pcf        Closes: #727171
  020388a application/zlib              Closes: #589991, 688872
  a71f2b0 text/vcard                    Closes: #674670

  * Changed associations of file suffixes with media types:

  ae8262a application/x-font: removed pcf extensions.
  46df3ed application/vnd.visio: added vst vsw vss
  1a69660 application/x-ns-proxy-autoconfig: removed dat, Closes: #418564

  * Packaging:

  b016fe8 Remove “see” alternative for “view”.
          Thanks to Kevin Ryde <user42 at zip.com.au>, Closes: #623384, #458691
  c5b794b Removed obsolete removal of /usr/doc/mime-support.

  * update-mime:

  5448676 Accept file names with alphanumeric characters from the current
          locale.  Thanks to Tomás <tomas at tuxteam.de>, Closes: #682900
  2a2243e Handle the “%c” (caption) field code from Desktop entry files.
          Thanks to Philipp Matthias Hahn <pmhahn at debian.org>, Closes: #745153
  c0e8e69 Handle the “%i” (icon) field code from Desktop entry files.
  5cf809c Stop quoting “%s” when building /etc/mailcap from the files in
          /usr/lib/mime/packages.
          Thanks to Peter Chubb <peter.chubb at nicta.com.au>, Closes: #747050
  f18b89f Warn when mailcap.order refers to packages that do not provide
          mailcap files.  Closes: #314952
  7b1947f Reject lines that do not start with a media type.  Closes: #384161
          This drops support for continuation lines in /usr/lib/mime/packages/.

  * run-mailcap:

  3c3b56c Redirect stdin to the tty when a mailcap entry says needsterminal.
          Thanks Kevin Ryde <user42 at zip.com.au>, Closes: #727173
  80a1bc7 Remove unreliable permission check. Closes: #691247 thanks to
          Martin Mares <mj at ucw.cz> and Kevin Ryde <user42 at zip.com.au>.
  e833a8a Stricter pattern for detection of manual pages.
          Thanks to Philipp Janda, LP: #1300484
  40f72a7 Force the use of a temporary alias for files containing a space in
          their name. Closes: #723708 thanks to Kevin Ryde <user42 at zip.com.au>.
  642d6a9 Remind of RFC 1524 in the “SEE ALSO” section of mailcap(5) man page.
          Closes: #634254
  dd293ec Run the “file“ command when extension does not tell the media type.
          Thanks to Reuben Thomas <rrt at sc3d.org>, Closes: #77985
  56dba74 Remove last-resort guesses of crontabs and man pages.
 -- Colin Watson <cjwatson at ubuntu.com>   Tue, 13 May 2014 17:40:19 +0100

** Changed in: mime-support (Ubuntu)
       Status: New => Fix Released

-- 
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:
  Fix Released

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