Changeset 58388
- Timestamp:
- 06/11/2024 12:04:40 PM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/http.php
r58386 r58388 540 540 * Examples of URLs that are considered unsafe: 541 541 * 542 * - ftp://example.com/caniload.php (Invalid protocol - Only http and https are allowed) 543 * - http:///example.com/caniload.php (Malformed URL) 544 * - http://user:pass@example.com/caniload.php (Login information) 545 * - http://exampleeeee.com/caniload.php (Invalid hostname, as the IP cannot be looked up in DNS) 546 * 547 * Examples of URLS that are considered unsafe by default: 548 * 549 * - http://192.168.0.1/caniload.php (IPs from LAN networks. This can be changed with the Wordpress filter http_request_host_is_external) 550 * - http://198.143.164.252:81/caniload.php (By default, only 80, 443 and 8080 are allowed. This can be changed with the Wordpress filter http_allowed_safe_ports) 542 * - ftp://example.com/caniload.php - Invalid protocol - only http and https are allowed. 543 * - http:///example.com/caniload.php - Malformed URL. 544 * - http://user:pass@example.com/caniload.php - Login information. 545 * - http://exampleeeee.com/caniload.php - Invalid hostname, as the IP cannot be looked up in DNS. 546 * 547 * Examples of URLs that are considered unsafe by default: 548 * 549 * - http://192.168.0.1/caniload.php - IPs from LAN networks. 550 * This can be changed with the {@see 'http_request_host_is_external'} filter. 551 * - http://198.143.164.252:81/caniload.php - By default, only 80, 443, and 8080 ports are allowed. 552 * This can be changed with the {@see 'http_allowed_safe_ports'} filter. 551 553 * 552 554 * @since 3.5.2
Note: See TracChangeset
for help on using the changeset viewer.