X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/8f374b7233bc2815ccc387e448d208c5434eb961..refs/tags/wordpress-3.5.2:/wp-includes/rss.php diff --git a/wp-includes/rss.php b/wp-includes/rss.php index 0d949376..3b8e4de9 100644 --- a/wp-includes/rss.php +++ b/wp-includes/rss.php @@ -536,7 +536,7 @@ endif; * @return Snoopy style response */ function _fetch_remote_file($url, $headers = "" ) { - $resp = wp_remote_request($url, array('headers' => $headers, 'timeout' => MAGPIE_FETCH_TIME_OUT)); + $resp = wp_remote_request($url, array('headers' => $headers, 'timeout' => MAGPIE_FETCH_TIME_OUT, 'reject_unsafe_urls' => true )); if ( is_wp_error($resp) ) { $error = array_shift($resp->errors);