mirror of
https://github.com/curl/curl.git
synced 2026-08-05 03:36:14 +03:00
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
This commit is contained in:
parent
684816cd9b
commit
e77b5b7453
7 changed files with 134 additions and 1 deletions
|
|
@ -316,6 +316,9 @@ void tool_version_info(void)
|
|||
}
|
||||
#ifdef USE_METALINK
|
||||
printf("Metalink ");
|
||||
#endif
|
||||
#ifdef USE_LIBPSL
|
||||
printf("PSL ");
|
||||
#endif
|
||||
puts(""); /* newline */
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue