[epiphany/gnome-3-26] session: Fix overaggressive session safety check



commit fd280d3ff9d27b06d75498d373d7eae0d0dbac0a
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Thu Dec 21 16:32:03 2017 -0600

    session: Fix overaggressive session safety check

 src/ephy-session.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/ephy-session.c b/src/ephy-session.c
index 64f135a..ba6ef70 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -833,6 +833,10 @@ session_seems_sane (GList *windows)
       if (strcmp (url, "") == 0)
         continue;
 
+      /* Ignore fake about "URLs." */
+      if (g_str_has_prefix (url, "about:"))
+        continue;
+
       uri = soup_uri_new (url);
       if (uri) {
         if (uri->host != NULL ||


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