diff options
author | Diego Escalante Urrelo <diegoe@gnome.org> | 2009-12-20 06:44:51 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <diegoe@gnome.org> | 2009-12-29 12:41:46 +0800 |
commit | 8d4a7f14d9c4cd6646ef0e96b0f8bcaf3d85b7b3 (patch) | |
tree | 09c333a3293a56352d23e3e8282fbddee86556d7 | |
parent | b5e9878479d8823bf9a0a8059975746f95d6afc2 (diff) | |
download | gsoc2013-epiphany-8d4a7f14d9c4cd6646ef0e96b0f8bcaf3d85b7b3.tar gsoc2013-epiphany-8d4a7f14d9c4cd6646ef0e96b0f8bcaf3d85b7b3.tar.gz gsoc2013-epiphany-8d4a7f14d9c4cd6646ef0e96b0f8bcaf3d85b7b3.tar.bz2 gsoc2013-epiphany-8d4a7f14d9c4cd6646ef0e96b0f8bcaf3d85b7b3.tar.lz gsoc2013-epiphany-8d4a7f14d9c4cd6646ef0e96b0f8bcaf3d85b7b3.tar.xz gsoc2013-epiphany-8d4a7f14d9c4cd6646ef0e96b0f8bcaf3d85b7b3.tar.zst gsoc2013-epiphany-8d4a7f14d9c4cd6646ef0e96b0f8bcaf3d85b7b3.zip |
Enable mime type safety check in downloads
Honour our database of safe and unsafe mime types.
Bug #605026
-rw-r--r-- | 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 3b1e7c03a..038164ca2 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; |