s/Publix/Public/
This commit is contained in:
parent
ff29f13d8f
commit
00f628d802
|
@ -32,7 +32,7 @@ Libpsl...
|
||||||
- is thread-safe
|
- is thread-safe
|
||||||
- handles IDNA2008 UTS#46 (if libicu is available)
|
- handles IDNA2008 UTS#46 (if libicu is available)
|
||||||
|
|
||||||
Find more information about the Publix Suffix List [here](https://publicsuffix.org/).
|
Find more information about the Public Suffix List [here](https://publicsuffix.org/).
|
||||||
|
|
||||||
Download the Public Suffix List [here](https://hg.mozilla.org/mozilla-central/raw-file/tip/netwerk/dns/effective_tld_names.dat).
|
Download the Public Suffix List [here](https://hg.mozilla.org/mozilla-central/raw-file/tip/netwerk/dns/effective_tld_names.dat).
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ libdir=@libdir@
|
||||||
includedir=@includedir@
|
includedir=@includedir@
|
||||||
|
|
||||||
Name: @PACKAGE_NAME@
|
Name: @PACKAGE_NAME@
|
||||||
Description: Publix Suffix List C library.
|
Description: Public Suffix List C library.
|
||||||
Version: @PACKAGE_VERSION@
|
Version: @PACKAGE_VERSION@
|
||||||
URL: @PACKAGE_URL@
|
URL: @PACKAGE_URL@
|
||||||
Libs: -L${libdir} -lpsl
|
Libs: -L${libdir} -lpsl
|
||||||
|
|
|
@ -94,7 +94,7 @@ static void test_psl_entry(const psl_ctx_t *psl, const char *domain, int type)
|
||||||
} else ok++;
|
} else ok++;
|
||||||
|
|
||||||
if (!(strchr(domain, '.'))) {
|
if (!(strchr(domain, '.'))) {
|
||||||
/* TLDs are always expected to be Publix Suffixes */
|
/* TLDs are always expected to be Public Suffixes */
|
||||||
if (!(result = psl_is_public_suffix2(psl, domain, PSL_TYPE_PRIVATE))) {
|
if (!(result = psl_is_public_suffix2(psl, domain, PSL_TYPE_PRIVATE))) {
|
||||||
failed++;
|
failed++;
|
||||||
printf("psl_is_public_suffix2(%s, PSL_TYPE_PRIVATE)=%d (expected 1)\n", domain, result);
|
printf("psl_is_public_suffix2(%s, PSL_TYPE_PRIVATE)=%d (expected 1)\n", domain, result);
|
||||||
|
|
Loading…
Reference in New Issue