[wp-trac] [WordPress Trac] #64457: Avoid underscores for hosts in wp_http_validate_url

WordPress Trac noreply at wordpress.org
Mon Dec 29 03:43:20 UTC 2025


#64457: Avoid underscores for hosts in wp_http_validate_url
-------------------------+------------------------------
 Reporter:  SirLouen     |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  low          |   Milestone:  Awaiting Review
Component:  HTTP API     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  2nd-opinion  |     Focuses:  performance
-------------------------+------------------------------

Comment (by westonruter):

 Why underscores alone? Shouldn't it short-circuit for any character which
 isn't allowed in a host name?

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


More information about the wp-trac mailing list