Index: wp-includes/class-http.php
===================================================================
--- wp-includes/class-http.php	(revision 13880)
+++ wp-includes/class-http.php	(working copy)
@@ -1736,6 +1736,7 @@
 
 			// Set everything else as a property
 			foreach ( $pairs as $pair ) {
+				$pair = rtrim( $pair );
 				if ( empty($pair) ) //Handles the cookie ending in ; which results in a empty final pair
 					continue;
 
@@ -2000,4 +2001,4 @@
 	function is_available() {
 		return ( function_exists('gzuncompress') || function_exists('gzdeflate') || function_exists('gzinflate') );
 	}
-}
\ No newline at end of file
+}
