From 29843cdbe406ead409caa6c03ab625ca983facf1 Mon Sep 17 00:00:00 2001 From: Michael Catanzaro Date: Thu, 16 Dec 2021 10:46:41 -0600 Subject: Disable reader mode URI scheme It is unsafe and not going to be fixed for GNOME 3.38 --- embed/ephy-embed-shell.c | 2 ++ 1 file changed, 2 insertions(+) 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", -- cgit v1.2.1