Bug 12818 - xdg-mime under GNOME has a bug when the file contains MIME in its name
Summary: xdg-mime under GNOME has a bug when the file contains MIME in its name
Status: RESOLVED FIXED
Alias: None
Product: Portland
Classification: Unclassified
Component: xdg-utils (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Fathi Boudra
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-16 02:10 UTC by Pascal Terjan
Modified: 2010-02-23 10:28 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Suggested patch (419 bytes, patch)
2007-10-16 02:12 UTC, Pascal Terjan
Details | Splinter Review

Description Pascal Terjan 2007-10-16 02:10:37 UTC
The command to get the mimetype is :

gnomevfs-info /tmp/xdg-openMIME.txt 2> /dev/null | grep MIME | cut -d ":" -f 2 | sed s/"^ "//

So we get :

[pterjan@plop libgnomevfs]$ xdg-mime query filetype /tmp/MIME.txt
MIME.txt
text/plain
Comment 1 Pascal Terjan 2007-10-16 02:12:39 UTC
Created attachment 12064 [details] [review]
Suggested patch
Comment 2 Pablo Castellano (pablog) 2010-01-22 11:35:48 UTC
I can confirm this issue.
Patch looks good for me.
Comment 3 Fathi Boudra 2010-02-23 10:28:38 UTC
Thanks. fixed in CVS.


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.