size_t myhash = cookiehash(co->domain);
for(n = Curl_llist_head(&ci->cookielist[myhash]); n; n = Curl_node_next(n)) {
struct Cookie *clist = Curl_node_elem(n);
- if(strcasecompare(clist->name, co->name)) {
+ if(!strcmp(clist->name, co->name)) {
/* the names are identical */
bool matching_domains = FALSE;
}
}
- if(!replace_n && strcasecompare(clist->name, co->name)) {
+ if(!replace_n && !strcmp(clist->name, co->name)) {
/* the names are identical */
if(clist->domain && co->domain) {
%if !hyper
Set-Cookie: foobar=name; domain=anything.com; path=/ ; secure\r
Set-Cookie:ismatch=this ; domain=test31.curl; path=/silly/\r
+Set-Cookie:ISMATCH=this ; domain=test31.curl; path=/silly/\r
Set-Cookie: overwrite=this ; domain=test31.curl; path=/overwrite/\r
Set-Cookie: overwrite=this2 ; domain=test31.curl; path=/overwrite\r
Set-Cookie: sec1value=secure1 ; domain=test31.curl; path=/secure1/ ; secure\r
%else
Set-Cookie: foobar=name; domain=anything.com; path=/ ; secure\r
Set-Cookie: ismatch=this ; domain=test31.curl; path=/silly/\r
+Set-Cookie:ISMATCH=this ; domain=test31.curl; path=/silly/\r
Set-Cookie: overwrite=this ; domain=test31.curl; path=/overwrite/\r
Set-Cookie: overwrite=this2 ; domain=test31.curl; path=/overwrite\r
Set-Cookie: sec1value=secure1 ; domain=test31.curl; path=/secure1/ ; secure\r
#HttpOnly_.test31.curl TRUE /p2/ FALSE 0 httpo2 value2
#HttpOnly_.test31.curl TRUE /p1/ FALSE 0 httpo1 value1
.test31.curl TRUE /overwrite FALSE 0 overwrite this2
+.test31.curl TRUE /silly/ FALSE 0 ISMATCH this
.test31.curl TRUE /silly/ FALSE 0 ismatch this
test31.curl FALSE / FALSE 0 blankdomain sure
</file>