diff --git a/wp-includes/class-http.php b/wp-includes/class-http.php index 6f6a08a22b..91d06c49ff 100644 --- a/wp-includes/class-http.php +++ b/wp-includes/class-http.php @@ -87,7 +87,7 @@ class WP_Http { 'redirection' => apply_filters( 'http_request_redirection_count', 5), 'httpversion' => apply_filters( 'http_request_version', '1.0'), 'user-agent' => apply_filters( 'http_headers_useragent', 'WordPress/' . $wp_version . '; ' . get_bloginfo( 'url' ) ), - 'reject_unsafe_urls' => apply_filters( 'http_request_reject_unsafe_urls', false ), + 'reject_unsafe_urls' => apply_filters( 'http_request_reject_unsafe_urls', true ), 'blocking' => true, 'headers' => array(), 'cookies' => array(),