The problem is caused by the following substitution in "update-mime":
s/([^\s;]\s+)(?![\'\"])([^\s;]*)%s([^\s;]*)/$1'$2%s$3'/g;
This is probably meant to escape/protect any "%s" instances which are
not surrounded by quotes yet, using single quotes.
This is fixed in Debian unstable, where imagemagick properly escapes the
argument to "display" and "update-mime" does not add extra quotes around
"%s" (it is: display.im6 'jpeg:%s').
Debian has imagemagick 8:6.7.7.10-4.
Looking at imagemagick in Ubuntu Quantal (8:6.7.7.10-2ubuntu4), this
appears to be addressed there already, too.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/973173
Title:
/etc/mailcap syntax problem
To manage notifications about this bug go to:
https://bugs.launchpad.net/imagemagick/+bug/973173/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs