Bug 12818

Summary: xdg-mime under GNOME has a bug when the file contains MIME in its name
Product: Portland Reporter: Pascal Terjan <pterjan>
Component: xdg-utilsAssignee: Fathi Boudra <fabo>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: pablo
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Suggested patch

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.