Index: wp-admin/includes/file.php
===================================================================
--- wp-admin/includes/file.php	(revision 23596)
+++ wp-admin/includes/file.php	(working copy)
@@ -90,7 +90,7 @@
 		$home_path = ABSPATH;
 	}
 
-	return $home_path;
+	return str_replace( '\\', '/', $home_path );
 }
 
 /**
Index: wp-admin/network.php
===================================================================
--- wp-admin/network.php	(revision 23596)
+++ wp-admin/network.php	(working copy)
@@ -314,7 +314,7 @@
 	$base              = parse_url( $slashed_home, PHP_URL_PATH );
 	$document_root_fix = str_replace( '\\', '/', realpath( $_SERVER['DOCUMENT_ROOT'] ) );
 	$abspath_fix       = str_replace( '\\', '/', ABSPATH );
-	$home_path         = 0 === strpos( $abspath_fix, $document_root_fix ) ? $document_root_fix . $base : str_replace( '\\', '/', get_home_path() );
+	$home_path         = 0 === strpos( $abspath_fix, $document_root_fix ) ? $document_root_fix . $base : get_home_path();
 	$wp_siteurl_subdir = preg_replace( '#^' . preg_quote( $home_path, '#' ) . '#', '', $abspath_fix );
 	$rewrite_base      = ! empty( $wp_siteurl_subdir ) ? ltrim( trailingslashit( $wp_siteurl_subdir ), '/' ) : '';
 
