[wp-trac] [WordPress Trac] #62303: Use better domain for HTTP API invalid hostname test
WordPress Trac
noreply at wordpress.org
Sun Oct 27 22:58:37 UTC 2024
#62303: Use better domain for HTTP API invalid hostname test
-------------------------------------------------+-------------------------
Reporter: sippis | Owner:
| SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.7
Component: Build/Test Tools | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses:
dev-reviewed |
-------------------------------------------------+-------------------------
Comment (by peterwilsoncc):
In [changeset:"59301" 59301]:
{{{
#!CommitTicketReference repository="" revision="59301"
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].
Props sippis, johnbillion, MattyRob, swissspidy.
Fixes #62303.
Reviewed by
Merges [59293] to the 6.3 branch.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62303#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list