Package: mime-support Version: 3.59 Followup-For: Bug #810587 Dear Maintainer,
any timeline for this? I also just stumbled overthis problem. I would recommend to also quote the closing } in the regex, although that is currently not strictly necessary. For the record, I'm using the following patch: --- /usr/bin/run-mailcap 2015-08-02 15:57:49.000000000 -0700 +++ /home/nkiesel/bin/see 2016-04-28 11:23:06.370831388 -0700 @@ -525,7 +525,7 @@ $comm =~ s!([^%])%t!$1$type!g; $comm =~ s!([^%])%F!$1!g; - $comm =~ s!%{(.*?)}!$_="'$ENV{$1}'";s/\`//g;s/\'\'//g;$_!ge; + $comm =~ s!%\{(.*?)\}!$_="'$ENV{$1}'";s/\`//g;s/\'\'//g;$_!ge; $comm =~ s!\\(.)!$1!g; $comm =~ s!\'\'!\'!g; $comm =~ s!$quotedsemi!;!go; For the record, what the changed line does is to replace e.g. %{HOME} with the value of environment variable HOME (after removing ` and ''). -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.4.0-1-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) mime-support depends on no packages. Versions of packages mime-support recommends: ii file 1:5.25-2 mime-support suggests no packages. -- no debconf information