Not sure what the specifications are, but the ConnectionManager will only process one Set-Cookie header when there are more available.
Based on versie 2.1, the cause is org.htmlparser.http.ConnectionManager.parseCookies(URLConnection), line 1098:
string = connection.getHeaderField ("Set-Cookie");
This will only handle one header.
I will attach a fixed ConnectionManager.java which can be used as a patch.
Log in to post a comment.