Index: wp-includes/class-http.php
===================================================================
--- wp-includes/class-http.php	(revision 14429)
+++ wp-includes/class-http.php	(working copy)
@@ -251,7 +251,7 @@
 		$r['ssl'] = $arrURL['scheme'] == 'https' || $arrURL['scheme'] == 'ssl';
 
 		// Determine if this request is to OUR install of WordPress
-		$homeURL = home_url();
+		$homeURL = parse_url( home_url() );
 		$r['local'] = $homeURL['host'] == $arrURL['host'] || 'localhost' == $arrURL['host'];
 		unset($homeURL);
 
@@ -1999,4 +1999,4 @@
 	function is_available() {
 		return ( function_exists('gzuncompress') || function_exists('gzdeflate') || function_exists('gzinflate') );
 	}
-}
\ No newline at end of file
+}
