summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@redhat.com>2021-12-16 10:46:41 -0600
committerMichael Catanzaro <mcatanzaro@redhat.com>2021-12-16 10:46:41 -0600
commit29843cdbe406ead409caa6c03ab625ca983facf1 (patch)
tree039640c2725e4baa176f45ce94c57ad8b57584af
parentee245c436bb640d1c2547c57d57ace1bdac98a81 (diff)
downloadepiphany-29843cdbe406ead409caa6c03ab625ca983facf1.tar.gz
Disable reader mode URI scheme
It is unsafe and not going to be fixed for GNOME 3.38
-rw-r--r--embed/ephy-embed-shell.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c
index 504cb2742..032f5112e 100644
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -932,11 +932,13 @@ ephy_embed_shell_startup (GApplication *application)
(WebKitURISchemeRequestCallback)pdf_request_cb,
shell, NULL);
+#if 0
/* reader mode handler */
priv->reader_handler = ephy_reader_handler_new ();
webkit_web_context_register_uri_scheme (priv->web_context, EPHY_READER_SCHEME,
(WebKitURISchemeRequestCallback)reader_request_cb,
shell, NULL);
+#endif
/* ephy-resource handler */
webkit_web_context_register_uri_scheme (priv->web_context, "ephy-resource",