Summary: | test-mime.MimeTest fails | ||
---|---|---|---|
Product: | PyXDG | Reporter: | Tom Callaway <tcallawa> |
Component: | PyXDG | Assignee: | Thomas Kluyver <thomas> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Tom Callaway
2013-03-04 22:04:04 UTC
About the only reference to this I can find is a commit message from Horde: '...ridiculous MIME types like "image/x-apple-ios-png" that overwrite the correct MIME types'. Looking at the spec, it seems to be ambiguous what the correct type is in a case like that, at least when the file isn't available to sniff the contents, which is what this test is for. Except of course we know that image/png is the answer we want. I'll ask on the mailing list to get a clearer idea about this. This change should fix that case, although I'm planning a proper rework of xdg.Mime: https://github.com/takluyver/pyxdg/commit/f87e662ed27edf88152dd6980120b2cf64890db9 (I'll transfer it to the official PyXDG repository this evening) Patch works, thanks! |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.