You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#63.
curl generates cookie jars where HttpOnly cookies have hostnames
prepended with #HttpOnly_ (see [0]).
Until now, HTTP::Cookies::Netscape was discarding such cookies as
comments. This commit strips the magic #HttpOnly_ prefix such that the
cookies are loaded.
The HttpOnly state isn't kept in memory: the cookies essentially lose
the property when loaded. If the cookie jar is written back out to a
file, hostnames will not have the #HttpOnly_ prefix, even if they had
the prefix originally.
See [1] for a PerlMonks thread where someone else hit the same issue as
me.
[0] https://curl.se/libcurl/c/CURLOPT_COOKIELIST.html
[1] https://www.perlmonks.org/?node_id=1187917
0 commit comments