mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Do not store discarded cookie after it is delected.
Submitted by Ian Abbott in <2h2gdu0q04v94ltet2634888sh6imcrgnd@farscape.privy.mev.co.uk>.
This commit is contained in:
parent
556b2cf861
commit
291693c3c2
@ -1,3 +1,8 @@
|
||||
2002-05-07 Ian Abbott <abbotti@mev.co.uk>
|
||||
|
||||
* cookies.c (cookie_jar_process_set_cookie): Do not store
|
||||
discarded cookie.
|
||||
|
||||
2002-04-21 Hrvoje Niksic <hniksic@arsdigita.com>
|
||||
|
||||
* cookies.c (check_domain_match): Allow cookies to be set for
|
||||
|
@ -842,7 +842,7 @@ cookie_jar_process_set_cookie (struct cookie_jar *jar,
|
||||
if (cookie->discard_requested)
|
||||
{
|
||||
discard_matching_cookie (jar, cookie);
|
||||
delete_cookie (cookie);
|
||||
goto out;
|
||||
}
|
||||
|
||||
store_cookie (jar, cookie);
|
||||
|
Loading…
Reference in New Issue
Block a user