[Bug 1828083] [NEW] run-mailcap script contains deprecated unsescaped left brace
Kat Cannon-MacMartin
1828083 at bugs.launchpad.net
Tue May 7 16:27:10 UTC 2019
Public bug reported:
I am using 16.04 xenial, which the mime-support package 3.59.
The run-mailcap script in the mime-support package contains an unescaped
left brace in the regex statement on line 528.
To be exact, the line that currently reads:
$comm =~ s!%{(.*?)}!$_="'$ENV{$1}'";s/\`//g;s/\'\'//g;$_!ge;
should instead read:
$comm =~ s!%\{(.*?)}!$_="'$ENV{$1}'";s/\`//g;s/\'\'//g;$_!ge;
Because of this issue, run-mailcap displays a warning each time it runs
(although actual functionality is not inhibited)
I took a look at the latest edition of the package, 3.60, and this issue
is fixed in that version. Xenial, however, still uses 3.59. Is this fix
coming to Xenial any time soon?
** Affects: mime-support (Ubuntu)
Importance: Undecided
Status: Invalid
--
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/1828083
Title:
run-mailcap script contains deprecated unsescaped left brace
Status in mime-support package in Ubuntu:
Invalid
Bug description:
I am using 16.04 xenial, which the mime-support package 3.59.
The run-mailcap script in the mime-support package contains an
unescaped left brace in the regex statement on line 528.
To be exact, the line that currently reads:
$comm =~ s!%{(.*?)}!$_="'$ENV{$1}'";s/\`//g;s/\'\'//g;$_!ge;
should instead read:
$comm =~ s!%\{(.*?)}!$_="'$ENV{$1}'";s/\`//g;s/\'\'//g;$_!ge;
Because of this issue, run-mailcap displays a warning each time it
runs (although actual functionality is not inhibited)
I took a look at the latest edition of the package, 3.60, and this
issue is fixed in that version. Xenial, however, still uses 3.59. Is
this fix coming to Xenial any time soon?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mime-support/+bug/1828083/+subscriptions
More information about the foundations-bugs
mailing list