From eeeaa0edabfb5fab3cfbdb233ff16a92166e76bb Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Tue, 24 Jan 2012 13:45:28 +0100 Subject: Never append "http://" to an address with a scheme It does not make sense. Fixes opening about: pages after normalizing all URLs again (and not only those without a scheme!). --- embed/ephy-web-view.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'embed/ephy-web-view.c') diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index 584926bec..8599f76b0 100644 --- a/embed/ephy-web-view.c +++ b/embed/ephy-web-view.c @@ -2361,8 +2361,6 @@ normalize_or_autosearch_url (EphyWebView *view, const char *url) effective_url = g_strdup_printf (url_search, query_param + 2); g_free (query_param); g_free (url_search); - } else if (scheme != NULL) { - effective_url = g_strdup (url); } else effective_url = ephy_embed_utils_normalize_address (url); -- cgit v1.2.3