Bug 551681 – g_content_type_guess() too naive with filenames

* gcontenttype.c (g_content_type_guess): Check whether there's a '/'
        at the end of the filename, and declare it a directory.
        Patch by Bastien Nocera


svn path=/trunk/; revision=7491
This commit is contained in:
Matthias Clasen
2008-09-15 16:06:05 +00:00
parent 4b92cd39fd
commit f634171ec5
2 changed files with 20 additions and 3 deletions

View File

@@ -1,3 +1,11 @@
2008-09-15 Matthias Clasen <mclasen@redhat.com>
Bug 551681 g_content_type_guess() too naive with filenames
* gcontenttype.c (g_content_type_guess): Check whether there's a '/'
at the end of the filename, and declare it a directory.
Patch by Bastien Nocera
2008-09-14 Cosimo Cecchi <cosimoc@gnome.org>
Bug 551887 Docs for g_desktop_app_info_new_from_filename ()