fix for fetching urls with spaces
This commit is contained in:
parent
2b28c8f2da
commit
2375b6b6b5
|
@ -317,6 +317,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")) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue