Bug 169633
Summary: | file-roller doesn't detect mime type correctly if file suffix is in caps | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Panu Matilainen <pmatilai> | ||||
Component: | file-roller | Assignee: | Marina Zhurakhinskaya <marinaz> | ||||
Status: | CLOSED WONTFIX | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4.0 | CC: | mm.masaeli | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-06-20 16:04:25 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Panu Matilainen
2005-09-30 14:24:46 UTC
Created attachment 119470 [details]
One-liner patch to fix the issue
The attached one-liner does the mimetype matching against lowercased string so
the correct application for that mimetype is found.
Oh, doh. Should use g_utf8_strlen() instead of just strlen()... eg: mime_type = gnome_vfs_mime_type_from_name_or_default (g_utf8_strdown(filename, g_utf8_strlen(filename, -1)), NULL); Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. The release for which you requested us to review is now End of Life. Please See https://access.redhat.com/support/policy/updates/errata/ If you would like Red Hat to re-consider your feature request for an active release, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue. |