diff --git a/embed/ephy-embed-utils.c b/embed/ephy-embed-utils.c
index e163680..528924c 100644
--- a/embed/ephy-embed-utils.c
+++ b/embed/ephy-embed-utils.c
@@ -1,4 +1,5 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
+/* vim: set sw=8 ts=8 sts=8 noet: */
 /*
  *  Copyright © 2000-2003 Marco Pesenti Gritti
  *  Copyright © 2003, 2004, 2005 Christian Persch
@@ -106,6 +107,8 @@ char*
 ephy_embed_utils_normalize_address (const char *address)
 {
 	char *effective_address;
+	SoupURI *soup_uri = NULL;
+	char *host;
 
 	g_return_val_if_fail (address, NULL);
 
@@ -113,6 +116,16 @@ ephy_embed_utils_normalize_address (const char *address)
 		effective_address = g_strconcat ("http://", address, NULL);
 	else
 		effective_address = g_strdup (address);
-	
+
+	/* Convert hostname to lowercase */
+	soup_uri = soup_uri_new (effective_address);
+	g_free (effective_address);
+
+	host = g_hostname_to_ascii (soup_uri->host);
+	soup_uri_set_host (soup_uri, host);
+	g_free (host);
+	effective_address = soup_uri_to_string (soup_uri, FALSE);
+	soup_uri_free (soup_uri);
+
 	return effective_address;
 }
