From ce2064a69af4e31132671ae20bb4a4317a7e7070 Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Sun, 27 Oct 2024 22:19:16 +0000 Subject: [PATCH] Tests: Use better domain for HTTP API invalid hostname test. The previous domain that was used to test for a host whose IPv4 address cannot be resolved, `exampleeeee.com`, got registered and has an A-record now, so it's not invalid anymore. `.invalid` is intended for use in online construction of domain names that are sure to be invalid and which it is obvious at a glance are invalid. Reference: [https://datatracker.ietf.org/doc/html/rfc2606#section-2 Reserved Top Level DNS Names: TLDs for Testing, & Documentation Examples]. Follow-up to [52084], [58384], [58388]. Reviewed by peterwilsoncc. Merges [59293] to the 6.7 branch. Props sippis, johnbillion, MattyRob, swissspidy, SergeyBiryukov. Fixes #62303. Built from https://develop.svn.wordpress.org/branches/6.7@59297 git-svn-id: http://core.svn.wordpress.org/branches/6.7@58689 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/http.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/http.php b/wp-includes/http.php index fda090c4e8..36814e7f89 100644 --- a/wp-includes/http.php +++ b/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/wp-includes/version.php b/wp-includes/version.php index 6f8bca930a..43812e5021 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.7-RC1-59296'; +$wp_version = '6.7-RC1-59297'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.