soup-tld: do not consider non suffixed domains as public
authorDan Winship <danw@gnome.org>
Mon, 16 Jul 2012 22:03:24 +0000 (18:03 -0400)
committerDan Winship <danw@gnome.org>
Mon, 16 Jul 2012 22:04:07 +0000 (18:04 -0400)
commitcbae89f4176a96ed16641acbd1bb43717bf35284
tree80e014225f815a82ef6facdfb8f995812797eb2a
parent394f7afc5250815477ea479e29bd55d0953ced41
soup-tld: do not consider non suffixed domains as public

Non suffixed hostnames (used in many intranet applications) should not be
considered as public.

Based on a patch from Sergio Villar Senin.

https://bugzilla.gnome.org/show_bug.cgi?id=679230
libsoup/soup-tld.c
libsoup/soup-tld.h
tests/tld-test.c