[epiphany] Fix remote inspector support
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [epiphany] Fix remote inspector support
- Date: Thu, 20 Dec 2018 21:22:20 +0000 (UTC)
commit e3cc0433404caec9e909232ef159fc4ff3fbb146
Author: Loïc Yhuel <loic yhuel softathome com>
Date:   Thu Dec 20 13:39:29 2018 +0100
    Fix remote inspector support
    
    Commit 11293728 broke inspector:// URLs : the scheme isn't known by
    g_app_info_get_default_for_uri_scheme, so it triggers a search.
    
    Fixes #600
 embed/ephy-web-view.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/embed/ephy-web-view.h b/embed/ephy-web-view.h
index ff38d95e8..dfc909f33 100644
--- a/embed/ephy-web-view.h
+++ b/embed/ephy-web-view.h
@@ -41,7 +41,8 @@ G_DECLARE_FINAL_TYPE (EphyWebView, ephy_web_view, EPHY, WEB_VIEW, WebKitWebView)
                                         "^https?://[^/\\.[:space:]]+.*$|" \
                                         "^about:.*$|" \
                                         "^data:.*$|" \
-                                        "^file:.*$" \
+                                        "^file:.*$|" \
+                                        "^inspector://.*$" \
                                         ")"
 
 #define EPHY_WEB_VIEW_DOMAIN_REGEX "^localhost(\\.[^[:space:]]+)?(:\\d+)?(:[0-9]+)?(/.*)?$|" \
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]