This function returns the SHA1 checksum of the Publix Suffix List file that has been built in.
+
This function returns the SHA1 checksum of the Public Suffix List file that has been built in.
The returned string is in lowercase hex encoding, e.g. "2af1e9e3044eda0678bb05949d7cca2f769901d8".
If the generation of built-in data has been disabled during compilation, an empty string will be returned.
@@ -666,7 +717,7 @@ The returned string is in lowercase hex encoding, e.g. "2af1e9e3044eda0678bb0594
psl_builtin_filename ()
const char *
psl_builtin_filename (void
);
-
This function returns the file name of the Publix Suffix List file that has been built in.
+
This function returns the file name of the Public Suffix List file that has been built in.
If the generation of built-in data has been disabled during compilation, an empty string will be returned.
Returns
@@ -702,7 +753,7 @@ psl_is_cookie_domain_acceptable (
const hostname
and
cookie_domain
-, have to be either in UTF-8 (lowercase + NFCK)
+, have to be either in UTF-8 (lowercase + NFKC)
or in ASCII/ACE (punycode) format. Other encodings or mixing UTF-8 and punycode likely result in incorrect return values.
Use helper function psl_str_to_utf8lower()
for normalization of hostname
and cookie_domain
@@ -749,6 +800,20 @@ but NOT for 'forgot.his.name' since 'forgot.his.name' is a public suffix.
+
psl_dist_filename ()
+
const char *
+psl_dist_filename (void
);
+
This function returns the file name of the distribution/system PSL data file.
+This file will be considered by psl_latest()
.
+
Return the filename that is set by ./configure --with-psl-distfile, or an empty string.
+
+
Returns
+
String containing a PSL file name or an empty string.
+
+
Since: 0.16
+
+
+
psl_get_version ()
const char *
psl_get_version (void
);
@@ -797,8 +862,8 @@ psl_str_to_utf8lower (
const char<
const char *encoding
,
const char *locale
,
char **lower
);
-This helper function converts a string to UTF-8 lowercase + NFCK representation.
-Lowercase + NFCK UTF-8 is needed as input to the domain checking functions.
+This helper function converts a string to UTF-8 lowercase + NFKC representation.
+Lowercase + NFKC UTF-8 is needed as input to the domain checking functions.
lower
is set to NULL
on error.
The return value 'lower' must be freed after usage.
@@ -856,7 +921,7 @@ PSL_ERR_NO_MEM: Failed to allocate memory
Types and Values
PSL_VERSION
-
#define PSL_VERSION "0.15.0"
+#define PSL_VERSION "0.17.0"
@@ -868,13 +933,13 @@ PSL_ERR_NO_MEM: Failed to allocate memory
PSL_VERSION_MINOR
-
#define PSL_VERSION_MINOR 15
+#define PSL_VERSION_MINOR 17
PSL_VERSION_NUMBER
-
#define PSL_VERSION_NUMBER 0x000f00
+#define PSL_VERSION_NUMBER 0x001100
diff --git a/libpsl.devhelp2 b/libpsl.devhelp2
index e61a26c..da17e49 100644
--- a/libpsl.devhelp2
+++ b/libpsl.devhelp2
@@ -11,6 +11,7 @@
+
@@ -25,6 +26,7 @@
+
diff --git a/right-insensitive.png b/right-insensitive.png
index ba481f5..c1efa27 100644
Binary files a/right-insensitive.png and b/right-insensitive.png differ
diff --git a/right.png b/right.png
index 2e537ba..83361a6 100644
Binary files a/right.png and b/right.png differ
diff --git a/up-insensitive.png b/up-insensitive.png
index 9317461..13e1a4f 100644
Binary files a/up-insensitive.png and b/up-insensitive.png differ
diff --git a/up.png b/up.png
index 5ecf9ab..67a9054 100644
Binary files a/up.png and b/up.png differ