a_mailcap_expand_formats(): FIX %{X}: skip X}! (Χάρης Καραχριστιανίδης)..
commit1a64c33728124dfe9e061b1b5c55de7fc29ec21f
authorSteffen Nurpmeso <steffen@sdaoden.eu>
Sat, 25 Feb 2023 19:06:29 +0000 (25 20:06 +0100)
committerSteffen Nurpmeso <steffen@sdaoden.eu>
Sat, 25 Feb 2023 19:09:55 +0000 (25 20:09 +0100)
treeec51dc8e12667283c73abc13ecdc0871c43bd8e1
parentab9f86d9dd55bfb1d75f2c15b9e6a1b66fe82089
a_mailcap_expand_formats(): FIX %{X}: skip X}! (Χάρης Καραχριστιανίδης)..

Hariskar (thanks!) reported

  s-nail: Forking child with spawn control: /bin/bash -c $'lynx -dump -assume_charset=\'UTF-8\'charset} "${MAILX_FILENAME_TEMPORARY}"'

We expand %{charset}, but do not skip over 'charset}' :-(
Test on the devel branch in

  mx-test.sh: t_mailcap(): t15 (Χάρης Καραχριστιανίδης)
src/mx/mailcap.c