[epiphany] session: Fix overaggressive session safety check



commit c743383621b75e764b8408e01b54e333bebc9677
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 53e9daf..8a86cea 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]