| Summary: |
magic for text/x-matlab and tex/x-tex interferes with magic for application/pdf and application/postscript |
| Product: |
shared-mime-info
|
Reporter: |
Ed Catmur <ed> |
| Component: |
freedesktop.org.xml | Assignee: |
Jonathan Blandford <jrb> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
|
| Severity: |
normal
|
|
|
| Priority: |
high
|
|
|
| Version: |
unspecified | |
|
| Hardware: |
All | |
|
| OS: |
All | |
|
| Whiteboard: |
|
|
i915 platform:
|
|
i915 features:
|
|
| Attachments: |
tex-matlab-%-lower-priority.patch
|
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.
text/x-matlab and text/x-tex both have, with priority 50, <match value="%" type="string" offset="0"/> This interferes with many file types with magic with "%" at offset 0, including application/pdf and application/postscript. This breaks e.g. reading papers on ArXiv; they must be renamed to an appropriate extension or evince will refuse to read them. Just matching the first byte shouldn't be enough to justify a match at priority 50. The Matlab and TeX matches should be demoted to (say) priority 30.