From 11d8b3ed3849e4ed18e9741af5ce316c4ccb29b8 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Fri, 11 Jan 2013 09:11:11 +0100 Subject: ephy-string: Handle about: and ephy-about: as special cases in ephy_string_get_host_name() And return NULL like for file:// URIs. https://bugzilla.gnome.org/show_bug.cgi?id=691416 --- tests/ephy-string-test.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/ephy-string-test.c b/tests/ephy-string-test.c index 6d407b003..bcb1aae63 100644 --- a/tests/ephy-string-test.c +++ b/tests/ephy-string-test.c @@ -35,6 +35,8 @@ static const HostnameTest hostname_tests[] = { { "www.google.com", "www.google.com" }, { "google.com", "google.com" }, { "file:///tmp/", NULL }, + { "about:blank", NULL }, + { "ephy-about:applications", NULL }, { NULL, NULL }, { "garbage garbage", "garbage garbage" } /* FIXME: should this be NULL? */ }; -- cgit v1.2.3