From ee930d97e431667cf2d16a9b68f073fafd172f8b Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 15 Oct 2011 11:51:54 +0000 Subject: Fix handling of no scheme svn path=/trunk/netsurf/; revision=13055 --- test/nsurl.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/nsurl.c') diff --git a/test/nsurl.c b/test/nsurl.c index d504469a6..df1b98595 100644 --- a/test/nsurl.c +++ b/test/nsurl.c @@ -39,6 +39,8 @@ static const struct test_pairs create_tests[] = { { "http:/a/b", "http://a/b" }, { "http://a", "http://a/" }, { "http://a/b", "http://a/b" }, + { "www.example.org", "http://www.example.org/" }, + { "www.example.org/x", "http://www.example.org/x" }, { "http://www.netsurf-browser.org:8080/", "http://www.netsurf-browser.org:8080/" }, -- cgit v1.2.3