[wp-trac] [WordPress Trac] #62303: Use better domain for HTTP API invalid hostname test

WordPress Trac noreply at wordpress.org
Sun Oct 27 23:04:40 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:"59305" 59305]:
 {{{
 #!CommitTicketReference repository="" revision="59305"
 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 test changes from [59293] to the 5.9 branch.

 Props sippis, johnbillion, MattyRob, swissspidy, SergeyBiryukov.
 Fixes #62303.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62303#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list