diff options
author | Michael Catanzaro <mcatanzaro@igalia.com> | 2014-08-15 10:57:47 -0500 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@igalia.com> | 2014-08-16 07:45:00 -0500 |
commit | e91d30c7817cce68882eedb12d9027d274448616 (patch) | |
tree | f03a8d632b631a6468931decdeafd8c5e342cc73 /embed/ephy-web-view.c | |
parent | 74de31adef954f785dd29f2a341fb5e53722d3ea (diff) | |
download | epiphany-e91d30c7817cce68882eedb12d9027d274448616.tar.gz |
ephy-web-view: do not replace broken lock with mixed content warning
The mixed content warning is only intended to be displayed on sites with
a secure primary connection. It's not relevant if the site is untrusted.
https://bugzilla.gnome.org/show_bug.cgi?id=734867
Diffstat (limited to 'embed/ephy-web-view.c')
-rw-r--r-- | embed/ephy-web-view.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index b2c6e88db..fc9d78ca6 100644 --- a/embed/ephy-web-view.c +++ b/embed/ephy-web-view.c @@ -2046,8 +2046,10 @@ mixed_content_detected_cb (WebKitWebView *web_view, gpointer user_data) { EphyWebView *view = EPHY_WEB_VIEW (web_view); + EphyWebViewPrivate *priv = view->priv; - ephy_web_view_set_security_level (view, EPHY_SECURITY_LEVEL_MIXED_CONTENT); + if (priv->security_level != EPHY_SECURITY_LEVEL_BROKEN_SECURITY) + ephy_web_view_set_security_level (view, EPHY_SECURITY_LEVEL_MIXED_CONTENT); } static void |