Alexander Larsson 9fdf70ba5f Don't ever sniff desktop files when the filename is known. In other words,
2009-02-20  Alexander Larsson  <alexl@redhat.com>

        * gcontenttype.c:
        (g_content_type_guess):
	Don't ever sniff desktop files when the filename is known.
	In other words, only allow desktop files with the .desktop extension
	and when the filename isn't known.
	This is a security precaution since desktop files can execute
	arbitrary code when launched and we don't want to allow them to
	try and hide as another type. There is no legit reason to not
	have the .desktop extension anyway.



svn path=/trunk/; revision=7892
2009-02-20 07:46:57 +00:00
..
2008-07-18 18:22:48 +00:00
2009-02-19 17:26:29 +00:00
2009-01-09 05:19:17 +00:00
2007-11-28 18:45:08 +00:00
2009-01-19 07:05:07 +00:00
2009-02-17 06:32:44 +00:00
2009-01-19 22:58:38 +00:00
2008-07-21 02:32:14 +00:00
2008-12-12 20:59:54 +00:00
2008-08-13 05:35:10 +00:00
2009-02-17 06:32:44 +00:00
2007-12-01 23:49:34 +00:00
2008-01-29 00:00:31 +00:00
2008-11-28 07:04:43 +00:00
2008-08-13 05:35:10 +00:00
2008-09-08 12:44:07 +00:00
2009-01-19 06:09:11 +00:00
2008-09-08 12:44:07 +00:00
2008-07-21 02:19:56 +00:00
2008-09-04 20:41:50 +00:00
2008-08-01 14:15:02 +00:00
2008-12-13 23:56:05 +00:00