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

WordPress Trac noreply at wordpress.org
Sat Oct 26 16:17:30 UTC 2024


#62303: Use better domain for HTTP API invalid hostname test
--------------------------------------+---------------------
 Reporter:  sippis                    |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  6.7
Component:  Build/Test Tools          |     Version:
 Severity:  major                     |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------
Changes (by johnbillion):

 * milestone:  Awaiting Review => 6.7


Comment:

 Thanks for the ticket and PR Timi. It might be even more preferable to use
 a `.invalid` domain, eg `example.invalid`, as they're guaranteed to never
 resolve.

 > ".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.

 Ref: https://datatracker.ietf.org/doc/html/rfc2606#section-2

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


More information about the wp-trac mailing list