diff --git a/src/wp-includes/http.php b/src/wp-includes/http.php index fda090c4e8..36814e7f89 100644 --- a/src/wp-includes/http.php +++ b/src/wp-includes/http.php @@ -535,7 +535,7 @@ function send_origin_headers() { * - ftp://example.com/caniload.php - Invalid protocol - only http and https are allowed. * - http:///example.com/caniload.php - Malformed URL. * - http://user:pass@example.com/caniload.php - Login information. - * - http://exampleeeee.com/caniload.php - Invalid hostname, as the IP cannot be looked up in DNS. + * - http://example.invalid/caniload.php - Invalid hostname, as the IP cannot be looked up in DNS. * * Examples of URLs that are considered unsafe by default: * diff --git a/tests/phpunit/tests/http/http.php b/tests/phpunit/tests/http/http.php index 533c584f04..651064dc56 100644 --- a/tests/phpunit/tests/http/http.php +++ b/tests/phpunit/tests/http/http.php @@ -549,7 +549,7 @@ class Tests_HTTP_HTTP extends WP_UnitTestCase { 'url' => 'http://[exam]ple.com/caniload.php', ), 'a host whose IPv4 address cannot be resolved' => array( - 'url' => 'http://exampleeeee.com/caniload.php', + 'url' => 'http://example.invalid/caniload.php', ), 'an external request when not allowed' => array( 'url' => 'http://192.168.0.1/caniload.php',