a typo in evince-previewer.desktop breaks /etc/mailcap
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
evince (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Unassigned | ||
Zesty |
Fix Released
|
Medium
|
Unassigned |
Bug Description
* Impact
there is an extra ";" in the mimetype list leading to a buggy mailcap entry
* Test case:
check if /etc/mailcap contains a line
"; evince-previewer %s; test=test -n "$DISPLAY""
* regression potentiel
check that evince is correcly used when trying to open file associated to it
-----------------
Release version: Ubuntu 16.04.3 LTS
Package version: 3.18.2-1ubuntu4.1
/usr/share/
===8<===
...
MimeType=
...
===>8===
This entry gets included in /etc/mailcap via update-mime trigger from the package mime-support and the result is a broken line:
===8<===
...
application/
; evince-previewer %s; test=test -n "$DISPLAY"
application/oxps; evince-previewer %s; test=test -n "$DISPLAY"
...
===>8===
Some programs that use /etc/mailcap get confused by the broken line so it would be nice if the typo it originates from was fixed.
The expected result in /etc/mailcap from running update-mime:
===8<===
...
application/
application/oxps; evince-previewer %s; test=test -n "$DISPLAY"
...
===>8===
CVE References
Changed in evince (Ubuntu): | |
importance: | Undecided → Low |
Changed in evince (Ubuntu): | |
status: | Fix Committed → Fix Released |
tags: | removed: verification-needed |
Status changed to 'Confirmed' because the bug affects multiple users.