mirror of
https://github.com/moparisthebest/curl
synced 2025-03-11 07:39:50 -04:00
fixed the Curl_cookie_add() invoke to not assume a space after the colon
This commit is contained in:
parent
d8b2c819e7
commit
7313501e30
@ -589,7 +589,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
|
|||||||
}
|
}
|
||||||
else if(data->cookies &&
|
else if(data->cookies &&
|
||||||
strnequal("Set-Cookie:", k->p, 11)) {
|
strnequal("Set-Cookie:", k->p, 11)) {
|
||||||
Curl_cookie_add(data->cookies, TRUE, k->p+12, conn->name);
|
Curl_cookie_add(data->cookies, TRUE, k->p+11, conn->name);
|
||||||
}
|
}
|
||||||
else if(strnequal("Last-Modified:", k->p,
|
else if(strnequal("Last-Modified:", k->p,
|
||||||
strlen("Last-Modified:")) &&
|
strlen("Last-Modified:")) &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user