Skip to content

Commit e48bf0b

Browse files
committed
Port for for AsyncHttpClient#138
1 parent c3071b6 commit e48bf0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/ning/http/util/AsyncHttpProviderUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ public static String parseCharset(String contentType) {
448448

449449
public static Cookie parseCookie(String value) {
450450
String[] fields = value.split(";\\s*");
451-
String[] cookie = fields[0].split("=");
451+
String[] cookie = fields[0].split("=", 2);
452452
String cookieName = cookie[0];
453453
String cookieValue = (cookie.length == 1) ? null : cookie[1];
454454

0 commit comments

Comments
 (0)