summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoïc Yhuel <loic.yhuel@softathome.com>2018-12-20 12:39:29 +0000
committerMichael Catanzaro <mcatanzaro@posteo.net>2018-12-20 21:43:49 +0000
commit58d5eb7ec0b37e7e9964e4fe8a8da27e7e5b2070 (patch)
treefe9ead3bf9af65d7b36efa6bab555309ebc7fe66
parent26d9b288244e5d5e715bcf860b0a200989ecc02d (diff)
downloadepiphany-58d5eb7ec0b37e7e9964e4fe8a8da27e7e5b2070.tar.gz
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 (cherry picked from commit e3cc0433404caec9e909232ef159fc4ff3fbb146)
-rw-r--r--embed/ephy-web-view.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/embed/ephy-web-view.h b/embed/ephy-web-view.h
index bd4a6c1b8..8f8ca5c8e 100644
--- a/embed/ephy-web-view.h
+++ b/embed/ephy-web-view.h
@@ -40,7 +40,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]+)?(/.*)?$|" \