From 5a3efe95b1e8d87f406aa0114d95d64e0a02203f Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Thu, 24 Mar 2005 15:49:01 +0000 Subject: =?UTF-8?q?Treat=20unknown=20mime=20types=20as=20'unsafe'.=20Patch?= =?UTF-8?q?=20by=20Jean-Fran=C3=A7ois=20Rameau,=20part?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2005-03-24 Christian Persch * embed/mozilla/ContentHandler.cpp: Treat unknown mime types as 'unsafe'. Patch by Jean-François Rameau, part of bug #170493. --- embed/mozilla/ContentHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'embed/mozilla') diff --git a/embed/mozilla/ContentHandler.cpp b/embed/mozilla/ContentHandler.cpp index d590905db..4a7cc996d 100644 --- a/embed/mozilla/ContentHandler.cpp +++ b/embed/mozilla/ContentHandler.cpp @@ -272,7 +272,7 @@ NS_METHOD GContentHandler::MIMEConfirmAction () (mAction == CONTENT_ACTION_OPEN_TMP) ? GTK_STOCK_OPEN : EPHY_STOCK_DOWNLOAD; - if (mPermission == EPHY_MIME_PERMISSION_UNSAFE && mHelperApp) + if (mPermission != EPHY_MIME_PERMISSION_SAFE && mHelperApp) { dialog = gtk_message_dialog_new (parentWindow, GTK_DIALOG_DESTROY_WITH_PARENT, -- cgit v1.2.3