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-10-24 04:04:42 +00:00
2008-07-18 18:22:48 +00:00
2008-11-28 05:09:21 +00:00
2009-02-19 17:26:29 +00:00
2008-11-12 17:52:39 +00:00
2009-01-09 05:19:17 +00:00
2008-09-02 18:40:39 +00:00
2007-11-28 18:45:08 +00:00
2009-02-20 07:46:57 +00:00
2008-11-28 23:16:45 +00:00
2009-01-19 07:05:07 +00:00
2008-06-22 15:10:51 +00:00
2008-09-02 19:05:58 +00:00
2008-07-20 00:34:58 +00:00
2008-09-02 19:05:58 +00:00
2009-01-22 19:18:26 +00:00
2008-09-02 19:05:58 +00:00
2009-01-21 14:09:56 +00:00
2008-09-02 17:30:02 +00:00
2008-09-26 16:19:35 +00:00
2008-09-26 16:19:35 +00:00
2009-02-20 07:46:57 +00:00
2008-09-02 19:05:58 +00:00
2007-11-26 16:13:05 +00:00
2009-02-17 06:32:44 +00:00
2009-01-28 16:39:39 +00:00
2008-06-22 15:10:51 +00:00
2008-09-02 19:05:58 +00:00
2009-01-19 22:58:38 +00:00
2008-09-02 19:05:58 +00:00
2008-07-21 02:32:14 +00:00
2008-09-02 19:05:58 +00:00
2009-02-04 08:01:42 +00:00
2008-09-02 19:05:58 +00:00
2009-01-05 16:57:55 +00:00
2008-09-02 19:05:58 +00:00
2009-01-05 16:57:55 +00:00
2008-09-02 19:05:58 +00:00
2009-02-19 15:26:32 +00:00
2008-09-02 19:05:58 +00:00
2007-12-14 15:56:56 +00:00
2009-02-16 14:22:43 +00:00
2008-10-06 21:59:29 +00:00
2008-10-16 04:19:53 +00:00
2008-09-02 19:05:58 +00:00
2008-10-21 11:51:48 +00:00
2008-09-02 19:05:58 +00:00
2009-02-17 23:36:13 +00:00
2009-02-16 14:22:43 +00:00
2008-07-01 06:32:35 +00:00
2008-09-02 19:05:58 +00:00
2008-08-05 17:51:13 +00:00
2008-09-02 19:05:58 +00:00
2008-08-11 19:45:08 +00:00
2008-09-02 19:05:58 +00:00
2008-07-01 06:32:35 +00:00
2008-09-02 19:05:58 +00:00
2009-02-06 14:08:19 +00:00
2009-01-21 14:09:56 +00:00
2009-02-06 14:08:19 +00:00
2009-01-21 14:09:56 +00:00
2008-12-12 20:59:54 +00:00
2008-10-21 11:51:48 +00:00
2008-08-13 05:35:10 +00:00
2008-09-02 19:05:58 +00:00
2008-01-09 14:43:41 +00:00
2008-09-02 19:05:58 +00:00
2009-02-17 06:32:44 +00:00
2009-02-18 14:49:25 +00:00
2007-12-01 23:49:34 +00:00
2008-06-23 12:06:39 +00:00
2009-02-12 01:52:17 +00:00
2008-09-02 19:05:58 +00:00
2008-01-29 00:00:31 +00:00
2008-08-12 23:09:04 +00:00
2008-09-02 19:05:58 +00:00
2008-07-01 06:32:35 +00:00
2008-09-02 19:05:58 +00:00
2008-11-21 10:30:43 +00:00
2008-07-20 00:34:58 +00:00
2008-09-02 19:05:58 +00:00
2008-08-11 19:45:08 +00:00
2008-09-02 19:05:58 +00:00
2008-12-09 11:15:36 +00:00
2008-09-02 19:05:58 +00:00
2009-01-08 01:32:15 +00:00
2008-09-02 19:05:58 +00:00
2009-02-16 14:22:43 +00:00
2008-09-02 19:05:58 +00:00
2008-07-01 06:32:35 +00:00
2008-09-02 19:05:58 +00:00
2008-07-01 06:32:35 +00:00
2008-09-02 19:05:58 +00:00
2009-02-18 14:49:25 +00:00
2008-09-02 19:05:58 +00:00
2008-11-28 07:04:43 +00:00
2008-09-02 19:05:58 +00:00
2008-07-01 06:32:35 +00:00
2008-09-02 19:05:58 +00:00
2008-07-01 06:32:35 +00:00
2008-09-02 19:05:58 +00:00
2008-12-01 13:46:11 +00:00
2008-12-01 13:46:11 +00:00
2009-02-17 00:02:06 +00:00
2009-02-17 00:02:06 +00:00
2007-12-17 16:00:33 +00:00
2008-06-22 15:10:51 +00:00
2008-09-02 19:05:58 +00:00
2008-08-13 05:35:10 +00:00
2008-09-02 19:05:58 +00:00
2008-07-01 06:32:35 +00:00
2008-09-02 19:05:58 +00:00
2008-07-20 00:34:58 +00:00
2008-09-02 19:05:58 +00:00
2009-02-16 09:33:39 +00:00
2009-01-05 06:57:16 +00:00
2008-10-21 11:51:48 +00:00
2008-09-02 19:05:58 +00:00
2008-12-01 13:46:11 +00:00
2008-09-02 19:05:58 +00:00
2008-12-31 07:47:19 +00:00
2008-12-08 05:41:43 +00:00
2008-09-08 12:44:07 +00:00
2008-09-02 19:05:58 +00:00
2009-01-19 06:09:11 +00:00
2008-09-02 19:05:58 +00:00
2008-12-31 07:47:19 +00:00
2008-12-08 05:41:43 +00:00
2008-09-08 12:44:07 +00:00
2008-09-02 19:05:58 +00:00
2008-08-11 19:45:08 +00:00
2008-09-02 19:05:58 +00:00
2008-07-21 02:19:56 +00:00
2008-09-02 19:05:58 +00:00
2008-12-01 13:46:11 +00:00
2009-02-17 00:02:06 +00:00
2008-08-11 19:45:08 +00:00
2008-10-12 17:05:17 +00:00
2008-09-26 19:57:36 +00:00
2008-09-02 19:05:58 +00:00
2008-09-04 20:41:50 +00:00
2008-09-02 19:05:58 +00:00
2008-08-11 19:45:08 +00:00
2008-09-02 19:05:58 +00:00
2008-10-10 05:00:17 +00:00
2008-08-01 14:15:02 +00:00
2008-05-05 15:12:13 +00:00
2008-12-13 23:56:05 +00:00