Bug#930908: general: incorrect rules for %s in /etc/mailcap yielding potentially unquoted metacharacters
On 2019-06-22 10:51:35 +0200, Vincent Lefevre wrote:
> The /etc/mailcap file contains many rules with '%s' instead of %s,
> for instance:
>
> text/*; less '%s'; needsterminal
> audio/ogg; ogginfo '%s'; copiousoutput
>
> This is incorrect. [...]
I suppose that the update-mime script could automatically fix those
(note that there can be a prefix, e.g. 'jpeg:%s').
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Reply to: