[epiphany] web-extension: Remove workaround for fixed bug



commit 63020bd52d3ebe93137a6bde97456be87c9f01f2
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sun Oct 9 11:25:13 2016 -0500

    web-extension: Remove workaround for fixed bug

 embed/web-extension/ephy-web-extension.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/embed/web-extension/ephy-web-extension.c b/embed/web-extension/ephy-web-extension.c
index f0cb7b6..d1e02ef 100644
--- a/embed/web-extension/ephy-web-extension.c
+++ b/embed/web-extension/ephy-web-extension.c
@@ -144,11 +144,6 @@ web_page_send_request (WebKitWebPage     *web_page,
   /* 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) {
-    /* Workaround for https://github.com/grindhold/libhttpseverywhere/issues/8
-     * FIXME: Remove this, it's crazy!
-     */
-    if (new_uri[strlen (new_uri) - 1] == '/')
-      new_uri[strlen (new_uri) - 1] = '\0';
     LOG ("HTTPS Everywhere: rewrote %s to %s", request_uri, new_uri);
     webkit_uri_request_set_uri (request, new_uri);
     request_uri = webkit_uri_request_get_uri (request);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]