run-mailcap script contains deprecated unsescaped left brace

Bug #1828083 reported by Kat Cannon-MacMartin

This bug report was converted into a question: question #680678: run-mailcap script contains deprecated unsescaped left brace.

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mime-support (Ubuntu)
Invalid
Undecided
Unassigned

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?

Revision history for this message
Kat Cannon-MacMartin (trenzafeeds) wrote :

I realized immediately after submission that this should instead be a question, before being escalated to the status of "bug". Just curious why 16.04 doesn't have this fix yet.

Changed in mime-support (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.