aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-web-view.c
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-01-24 20:45:28 +0800
committerXan Lopez <xan@igalia.com>2012-01-24 20:45:28 +0800
commiteeeaa0edabfb5fab3cfbdb233ff16a92166e76bb (patch)
tree485791ffb264b1296d3d55419df13d9167d3567e /embed/ephy-web-view.c
parent5efccdb2132bbc33ac4907db2c1cdfc638eeac9f (diff)
downloadgsoc2013-epiphany-eeeaa0edabfb5fab3cfbdb233ff16a92166e76bb.tar.gz
gsoc2013-epiphany-eeeaa0edabfb5fab3cfbdb233ff16a92166e76bb.tar.zst
gsoc2013-epiphany-eeeaa0edabfb5fab3cfbdb233ff16a92166e76bb.zip
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!).
Diffstat (limited to 'embed/ephy-web-view.c')
-rw-r--r--embed/ephy-web-view.c2
1 files changed, 0 insertions, 2 deletions
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);