[wp-trac] [WordPress Trac] #64457: Early filter invalid hosts in wp_http_validate_url
WordPress Trac
noreply at wordpress.org
Mon Dec 29 17:09:32 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 westonruter):
I would support the `function_exists()` check and make sure the Filter
extension is included among the suggested extensions, like cURL is. I see
Filter is included in the Hosting handbook:
https://make.wordpress.org/hosting/handbook/server-environment/#php-
extensions
So yes, I think we should be safe to use Filter, if we add safeguards for
it not being enabled.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64457#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list