summaryrefslogtreecommitdiff
path: root/tests/tld-test.c
AgeCommit message (Collapse)AuthorFilesLines
2020-02-28Imported Upstream version 2.69.90upstream/2.69.90upstream/2.69.0Seonah Moon1-4/+7
Change-Id: I484cce89dab3187f91ab6e005e265514a03028bd
2019-12-09Imported Upstream version 2.62.2upstream/2.62.2Seonah Moon1-4/+4
Change-Id: Id151dafaa6ac9f569d76f08282b5c9e4c3b19621
2014-11-04Imported Upstream version 2.46.0upstream/2.46.0Zhang zhengguang1-124/+165
2012-08-07SoupTLD: fix a regression in soup_tld_is_public_suffix()Sergio Villar Senin1-32/+53
soup_tld_is_public_suffix() was not returning TRUE for well known TLDs as ".com" after cbae89f4. Also added some extra documentation to soup_tld_get_base_domain() in order to make explicit that it returns NULL for private URLs. Reworked unit tests in order to allow them detect these regressions. https://bugzilla.gnome.org/show_bug.cgi?id=681085
2012-08-06tld-test: update for changes to TLD dataDan Winship1-7/+7
2012-07-16soup-tld: do not consider non suffixed domains as publicDan Winship1-11/+14
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
2012-07-13Clean up includesDan Winship1-4/+0
Especially, include soup.h rather than individually including a bunch of other public soup-*.h files. Remove unnecessary system includes (many are leftovers from code that has moved down into glib).
2012-06-14soup-tld: added soup_tld_* utilsSergio Villar Senin1-0/+131
The soup_tld_* set of functions along with the list of public suffixes published in http://publicsuffix.org allows API clients to get the base domain of a given hostname or to check if a given domain is a public suffix (one under which internet users can register new names). https://bugzilla.gnome.org/show_bug.cgi?id=673802