[wp-trac] [WordPress Trac] #64457: Early filter invalid hosts in wp_http_validate_url

WordPress Trac noreply at wordpress.org
Tue Dec 30 03:52:05 UTC 2025


#64457: Early filter invalid hosts in wp_http_validate_url
-------------------------+-----------------------------
 Reporter:  SirLouen     |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  low          |   Milestone:  Future Release
Component:  HTTP API     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:  performance
-------------------------+-----------------------------

Comment (by manhphucofficial):

 Patch attached.
 Uses early hostname validation via Filter when available, with a fallback
 to the existing behavior otherwise. Includes a test for underscore
 hostnames.

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


More information about the wp-trac mailing list