[Bug 1961600] Re: "open" command crashes when filename as space in it
Marc Deslauriers
1961600 at bugs.launchpad.net
Tue Feb 22 15:23:19 UTC 2022
So it looks like this was an issue in the Debian package 3.68, which was
later corrected in 3.69:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=982060
The 3.68 package did make it's way to Ubuntu 21.04.
Ubuntu 21.04 is no longer supported since January 20th 2022:
https://lists.ubuntu.com/archives/ubuntu-security-
announce/2022-January/006363.html
I suggest updating to a currently supported Ubuntu release to fix your
issue. Thanks!
** Bug watch added: Debian Bug tracker #982060
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=982060
** Changed in: mailcap (Ubuntu)
Status: Incomplete => Won't Fix
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mailcap in Ubuntu.
https://bugs.launchpad.net/bugs/1961600
Title:
"open" command crashes when filename as space in it
Status in mailcap package in Ubuntu:
Won't Fix
Bug description:
I use Lubuntu 21.04. I use "open" command a lot to open files (mostly
pdfs, sometimes images or videos) from terminal. It breaks when there
is a space in the filename. Since /usr/bin/open ->
/etc/alternatives/open -> /usr/bin/run-mailcap. I ran it using the
"run-mailcap" name. I mailed the creator of run-mailcap. I'm attaching
the email exchange as a text file. I also attach the run-mailcap file.
And the bug is on line 480: "if (decode(langinfo(CODESET()), $file) =~
m![^[:alnum:],.:/@%^+=_-]!i and $0 !~ "open") {"
ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: mailcap 3.68ubuntu1
ProcVersionSignature: Ubuntu 5.11.0-49.55-generic 5.11.22
Uname: Linux 5.11.0-49-generic x86_64
ApportVersion: 2.20.11-0ubuntu65.4
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: LXQt
Date: Mon Feb 21 19:48:43 2022
InstallationDate: Installed on 2022-01-24 (28 days ago)
InstallationMedia: Lubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
PackageArchitecture: all
SourcePackage: mailcap
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mailcap/+bug/1961600/+subscriptions
More information about the foundations-bugs
mailing list