mirror of
https://github.com/curl/curl.git
synced 2026-07-31 14:58:02 +03:00
Now we're setting a default domain for received cookies so that we can
properly match those cookies in subsequent requests
This commit is contained in:
parent
9efdb68035
commit
598e8dfbfb
3 changed files with 18 additions and 7 deletions
|
|
@ -620,7 +620,7 @@ Transfer(struct connectdata *c_conn)
|
|||
}
|
||||
else if(data->cookies &&
|
||||
strnequal("Set-Cookie:", p, 11)) {
|
||||
Curl_cookie_add(data->cookies, TRUE, &p[12]);
|
||||
Curl_cookie_add(data->cookies, TRUE, &p[12], conn->name);
|
||||
}
|
||||
else if(strnequal("Last-Modified:", p,
|
||||
strlen("Last-Modified:")) &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue