[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
Tue Nov 2 09:33:06 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:  needs-unit-tests good-first-bug      |     Focuses:
  has-patch                                      |
-------------------------------------------------+-------------------------

Comment (by costdev):

 @jorbin I've submitted a review on [https://github.com/WordPress
 /wordpress-develop/pull/1790 PR 1790].

 **New contributors:**
 If you're interested in working on the unit tests for this PR, check out
 the [https://make.wordpress.org/core/handbook/testing/automated-testing
 /writing-phpunit-tests/ Writing PHPUnit Tests] Handbook entry and leave a
 comment in this ticket to let us know you're working on the unit test. You
 may also find it useful to look in `tests/phpunit/tests` to find some unit
 tests for existing filters.

 Feel free to ping me on Slack if you have any questions.

 **Bug gardeners:**
 If this ticket still `needs-unit-tests` as the 5.9 milestone approaches
 and you're about to punt this to a later release, feel free to ping me and
 I'll submit the tests so we can get this into 5.9.

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


More information about the wp-trac mailing list