wordpress-develop
wordpress-develop copied to clipboard
Early filter invalid hosts in wp_http_validate_url()
Trac ticket: https://core.trac.wordpress.org/ticket/64457
Adds early hostname validation using the Filter extension when available, while falling back to the existing behavior when it’s not. Includes a test case for underscore hostnames.