[epiphany] Temporarily disable libhttpseverywhere integration
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Temporarily disable libhttpseverywhere integration
- Date: Sat, 15 Oct 2016 04:41:15 +0000 (UTC)
commit a39962e3bf239eef7b958d2cada2c7e176bfd397
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Fri Oct 14 23:39:33 2016 -0500
Temporarily disable libhttpseverywhere integration
While we work out kinks in the API. This API just changed to become
async, which is inconvenient for Epiphany, and I want to move it to a
library context object.
embed/web-extension/ephy-web-extension.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/embed/web-extension/ephy-web-extension.c b/embed/web-extension/ephy-web-extension.c
index e272947..0c6e816 100644
--- a/embed/web-extension/ephy-web-extension.c
+++ b/embed/web-extension/ephy-web-extension.c
@@ -146,6 +146,7 @@ web_page_send_request (WebKitWebPage *web_page,
g_free (new_uri);
}
+#if 0
/* Rewrite URL to use HTTPS if directed by HTTPS Everywhere */
new_uri = https_everywhere_rewrite (request_uri);
if (g_strcmp0 (request_uri, new_uri) != 0) {
@@ -154,6 +155,7 @@ web_page_send_request (WebKitWebPage *web_page,
request_uri = webkit_uri_request_get_uri (request);
}
g_free (new_uri);
+#endif
if (!g_settings_get_boolean (EPHY_SETTINGS_WEB, EPHY_PREFS_WEB_ENABLE_ADBLOCK))
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]