projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bcb8ab
)
Venkataramana Mokkapati corrected a cookie parser bug
author
Daniel Stenberg
<daniel@haxx.se>
Fri, 10 Nov 2000 08:10:04 +0000
(08:10 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Fri, 10 Nov 2000 08:10:04 +0000
(08:10 +0000)
lib/cookie.c
patch
|
blob
|
history
diff --git
a/lib/cookie.c
b/lib/cookie.c
index
a39ff88
..
f372cb5
100644
(file)
--- a/
lib/cookie.c
+++ b/
lib/cookie.c
@@
-409,7
+409,7
@@
struct Cookie *cookie_getlist(struct CookieInfo *c,
/* now check if the domain is correct */
domlen=co->domain?strlen(co->domain):0;
if(!co->domain ||
- ((domlen<hostlen) &&
+ ((domlen<
=
hostlen) &&
strequal(host+(hostlen-domlen), co->domain)) ) {
/* the right part of the host matches the domain stuff in the
cookie data */