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)) {
LOG.debug("Replacing cookie {} {} -> {} [{}]", oldCookie.name(), oldCookie.value(), newCookie.value(), oldCookie.domain());
iterator.remove();
break;
}
}
}