This also affects midnight commander, which uses /usr/bin/see (from
mime-support) to open images.
** Changed in: mime-support (Ubuntu)
Importance: Undecided = Medium
** Changed in: mime-support (Ubuntu)
Status: Confirmed = Triaged
--
You received this bug notification because you are
** Also affects: imagemagick (Ubuntu)
Importance: Undecided
Status: New
--
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
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
This is not a bug with ImageMagick itself - the debian/imagemagick.mime
file is being added by Debian/Ubuntu.
** Changed in: imagemagick
Status: New = Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Fixed via imagemagick in Ubuntu Quantal, therefore closing this bug
task.
** Changed in: imagemagick (Ubuntu)
Status: New = Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/973173
I am closing the mime-support task as Won't fix.
While the update-mime might fail here, it is probably a better idea to
be more restrictive than permissive when trying to handle unescaped %s
instances.
** Changed in: mime-support (Ubuntu)
Status: Triaged = Won't Fix
--
You received this
As I have understand later, the /etc/mailcap is obsolete. Imagemagic should not
use it and mc too.
see https://bugs.launchpad.net/ubuntu/+source/eog/+bug/973176
But - the reason why I have thing the problem is rather in MIME then in
Imagemagic (about the syntax problem) is, that the ' are added
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: mime-support (Ubuntu)
Status: New = Confirmed
--
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:
The edit you should have made to /etc/mailcap was to remove the single
quotes around the %s part of the display command ...
broken mailcap line :-
image/png; display 'png:'%s''; test=test -n $DISPLAY
fixed mailcap line :-
image/png; display 'png:%s'; test=test -n $DISPLAY
I suspect that this