forked from j62/ctbrec
Fix bug in cookie update code of CookieJar
This commit is contained in:
parent
3d245d6515
commit
30add6aa3f
|
@ -34,6 +34,7 @@ public class CookieJarImpl implements CookieJar {
|
||||||
if(newCookie.name().equalsIgnoreCase(name)) {
|
if(newCookie.name().equalsIgnoreCase(name)) {
|
||||||
LOG.debug("Replacing cookie {} {} -> {} [{}]", oldCookie.name(), oldCookie.value(), newCookie.value(), oldCookie.domain());
|
LOG.debug("Replacing cookie {} {} -> {} [{}]", oldCookie.name(), oldCookie.value(), newCookie.value(), oldCookie.domain());
|
||||||
iterator.remove();
|
iterator.remove();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue