wordpress-develop/tests/phpunit/tests/http
Tonya Mork bed3a7c0da HTTP API: Introduce 'http_allowed_safe_ports' filter in wp_http_validate_url().
Adds a new filter `'http_allowed_safe_ports'` to control which ports are allowed for remote requests. By default, ports 80, 443, and 8080 are allowed for safe remote requests.

Adds tests. 

Follow-up to [24480].

Props xknown, johnbillion, jorbin, costdev, dd32.
Fixes #54331.

git-svn-id: https://develop.svn.wordpress.org/trunk@52084 602fd350-edb4-49c9-b593-d223f7449a82
2021-11-09 22:37:19 +00:00
..
base.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00
curl.php Tests: Add missing @covers tags for files in phpunit/tests/http/. 2021-02-15 14:00:02 +00:00
functions.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00
http.php HTTP API: Introduce 'http_allowed_safe_ports' filter in wp_http_validate_url(). 2021-11-09 22:37:19 +00:00
streams.php Code Modernization: Use explicit visibility for class property declarations. 2020-10-17 16:24:35 +00:00
wpGetHttpHeaders.php Build/Test Tools: Implement use of the void solution. 2021-08-07 10:29:41 +00:00
wpRemoteRetrieveHeaders.php Coding Standards: Add visibility to methods in tests/phpunit/tests/. 2021-11-04 15:22:47 +00:00