diff options
author | Tim Rühsen <tim.ruehsen@gmx.de> | 2015-09-29 11:33:01 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-10-17 16:37:49 +0200 |
commit | e77b5b7453c1e8ccd7ec0816890d98e2f392e465 (patch) | |
tree | ae7b513cc29249c745755a353ecc240dee912f0f /src | |
parent | 684816cd9b846a955947ef57e269b12e5224f408 (diff) |
cookies: Add support for Mozilla's Publix Suffix List
Use libpsl to check the domain value of Set-Cookie headers (and cookie
jar entries) for not being a Publix Suffix.
The configure script checks for "libpsl" by default. Disable the check
with --without-libpsl.
Ref: https://publicsuffix.org/
Ref: https://github.com/publicsuffix/list
Ref: https://github.com/rockdaboot/libpsl
Diffstat (limited to 'src')
-rw-r--r-- | src/tool_help.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tool_help.c b/src/tool_help.c index 355fe7d7b..4f569cde6 100644 --- a/src/tool_help.c +++ b/src/tool_help.c @@ -317,6 +317,9 @@ void tool_version_info(void) #ifdef USE_METALINK printf("Metalink "); #endif +#ifdef USE_LIBPSL + printf("PSL "); +#endif puts(""); /* newline */ } } |