Package: chromium
Version: 140.0.7339.185-1
Severity: minor
While updating GNOME's gnome-mimeapps.list (which has Chromium as a
non-default web browser with slightly lower priority than Firefox), I
noticed that Firefox's .desktop file claims to support the correct
application/xhtml+xml [1], but Chromium's lists application/xhtml_xml
instead.
If a user prefers Chromium and has set it as default for the types that
it supports (or if they have installed Chromium and e.g. GNOME
Web/Epiphany but not Firefox), this could result in a non-preferred web
browser being launched if a file is content-sniffed as XHTML rather than
HTML.
smcv
[1] https://www.rfc-editor.org/rfc/rfc3236.html