[Bug 1961600] Re: "open" command crashes when filename as space in it
Marc Deslauriers
1961600 at bugs.launchpad.net
Tue Feb 22 15:16:47 UTC 2022
Hi,
Thanks for reporting this issue, but I don't know where you got your
run-mailcap file from, as the one currently provided by Ubuntu has this:
if (decode(langinfo(CODESET()), $file) =~
m![^[:alnum:],.:/@%^+=_-]!i) {
The extra "and $0 !~ "open")" isn't present in official packages.
Please let us know where you got that run-mailcap file from. Thanks!
** Changed in: mailcap (Ubuntu)
Status: New => Incomplete
--
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