forked from j62/ctbrec
1
0
Fork 0

Fix bug in cookie update code of CookieJar

This commit is contained in:
0xboobface 2018-10-30 21:08:37 +01:00
parent 3d245d6515
commit 30add6aa3f
1 changed files with 1 additions and 0 deletions

View File

@ -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;
} }
} }
} }