diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-03-24 23:48:51 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-03-24 23:48:51 +0800 |
commit | 7238fad7cc7778b86e41a2e3a53dba9b1fab73cc (patch) | |
tree | 16b69a8233638489fb57500689fc6fa2adb5ac5a | |
parent | 188867f2cf59a171d6fffe28dc37ac37b29eaec3 (diff) | |
download | gsoc2013-epiphany-7238fad7cc7778b86e41a2e3a53dba9b1fab73cc.tar gsoc2013-epiphany-7238fad7cc7778b86e41a2e3a53dba9b1fab73cc.tar.gz gsoc2013-epiphany-7238fad7cc7778b86e41a2e3a53dba9b1fab73cc.tar.bz2 gsoc2013-epiphany-7238fad7cc7778b86e41a2e3a53dba9b1fab73cc.tar.lz gsoc2013-epiphany-7238fad7cc7778b86e41a2e3a53dba9b1fab73cc.tar.xz gsoc2013-epiphany-7238fad7cc7778b86e41a2e3a53dba9b1fab73cc.tar.zst gsoc2013-epiphany-7238fad7cc7778b86e41a2e3a53dba9b1fab73cc.zip |
Treat unknown mime types as 'unsafe'. Patch by Jean-François Rameau, part
2005-03-24 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/ContentHandler.cpp:
Treat unknown mime types as 'unsafe'. Patch by Jean-François Rameau,
part of bug #170493.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | embed/mozilla/ContentHandler.cpp | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,10 @@ +2005-03-24 Christian Persch <chpe@cvs.gnome.org> + + * embed/mozilla/ContentHandler.cpp: + + Treat unknown mime types as 'unsafe'. Patch by Jean-François Rameau, + part of bug #170493. + 2005-03-23 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: 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, |