Index: src/wp-includes/formatting.php
===================================================================
--- src/wp-includes/formatting.php	(revision 35471)
+++ src/wp-includes/formatting.php	(working copy)
@@ -3621,7 +3621,7 @@
  * @return string Absolute path.
  */
 function wp_make_link_relative( $link ) {
-	return preg_replace( '|^(https?:)?//[^/]+(/.*)|i', '$2', $link );
+	return preg_replace( '|^(https?:)?//[^/]+(/?.*)|i', '$2', $link );
 }
 
 /**
