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



commit acf3864e8de933d977866c1bc02404c91d204f8d
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Tue Oct 11 08:13:46 2016 -0500

    Revert "Revert "web-extension: Remove workaround for fixed bug""
    
    This reverts commit adc5711c567f2d262fde5899d0771e54e4f7104c.
    
    No longer needed:
    
    https://github.com/grindhold/libhttpseverywhere/commit/deecaf221a61786af8e13e7475917cf2639260c2

 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 c174fd7..e272947 100644
--- a/embed/web-extension/ephy-web-extension.c
+++ b/embed/web-extension/ephy-web-extension.c
@@ -149,11 +149,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]