Index: src/wp-includes/http.php
===================================================================
--- src/wp-includes/http.php	(revision 35748)
+++ src/wp-includes/http.php	(working copy)
@@ -523,7 +523,7 @@
 
 	$parsed_home = @parse_url( get_option( 'home' ) );
 
-	$same_host = strtolower( $parsed_home['host'] ) === strtolower( $parsed_url['host'] );
+	$same_host = strtolower( $parsed_url['host'] );
 
 	if ( ! $same_host ) {
 		$host = trim( $parsed_url['host'], '.' );
