fix for fetching urls with spaces

This commit is contained in:
Sunjay Cauligi 2013-04-06 02:05:11 -07:00
parent 2b28c8f2da
commit 2375b6b6b5
1 changed files with 2 additions and 0 deletions

View File

@ -318,6 +318,8 @@
global $fetch_last_error;
global $fetch_last_error_code;
$url = str_replace(' ', '%20', $url);
if (!defined('NO_CURL') && function_exists('curl_init') && !ini_get("open_basedir")) {
if (ini_get("safe_mode")) {