[wp-trac] [WordPress Trac] #54331: Add a hook in wp_http_validate_url to control which ports are allowed for remote requests
WordPress Trac
noreply at wordpress.org
Mon Nov 8 06:09:11 UTC 2021
#54331: Add a hook in wp_http_validate_url to control which ports are allowed for
remote requests
-----------------------------------------------------+---------------------
Reporter: xknown | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.9
Component: HTTP API | Version:
Severity: normal | Resolution:
Keywords: good-first-bug has-patch has-unit-tests | Focuses:
-----------------------------------------------------+---------------------
Comment (by costdev):
Unit tests and other improvements have been added for
`wp_http_validate_url()`.
Committers: The final commit in [https://github.com/WordPress/wordpress-
develop/pull/1826 PR 1826] adds tests for the filter added in
[https://github.com/WordPress/wordpress-develop/pull/1790 PR 1790]. Once
this filter is committed, the unit tests in [https://github.com/WordPress
/wordpress-develop/pull/1826 PR 1826]'s final commit will pass.
In the meantime, [https://github.com/WordPress/wordpress-develop/pull/1826
PR 1826] is ready for review and three of the four commits can be reviewed
(and hopefully considered for commit) before the filter if it isn't ready.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54331#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list