Merge pull request #135 from sunjayc99/master

Fix: fetching URLs with spaces
master
Andrew Dolgov 12 years ago
commit 529802111e

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

Loading…
Cancel
Save