[epiphany] Enable mime type safety check in downloads



commit 8d4a7f14d9c4cd6646ef0e96b0f8bcaf3d85b7b3
Author: Diego Escalante Urrelo <diegoe gnome org>
Date:   Sat Dec 19 17:44:51 2009 -0500

    Enable mime type safety check in downloads
    
    Honour our database of safe and unsafe mime types.
    
    Bug #605026

 embed/ephy-embed.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index 3b1e7c0..038164c 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -673,6 +673,7 @@ confirm_action_from_mime (WebKitWebView *web_view,
     if (content_type) {
       mime_description = g_content_type_get_description (content_type);
       helper_app = g_app_info_get_default_for_type (content_type, FALSE);
+      mime_permission = ephy_file_check_mime (content_type);
 
       if (helper_app) {
         action = DOWNLOAD_ACTION_OPEN;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]