diff options
author | Andrew Dolgov <[email protected]> | 2013-04-06 02:10:38 -0700 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-06 02:10:38 -0700 |
commit | 529802111ebc0db0f5076fc19c299f534fd11bc1 (patch) | |
tree | 051d1b8456c31d4cbbf86fa6976f6cdb542d7dbb | |
parent | 86baa14acaf932222952e0c7d4fbd123cb257474 (diff) | |
parent | 2375b6b6b5d804040927338c820bd14b02043e44 (diff) |
Merge pull request #135 from sunjayc99/master
Fix: fetching URLs with spaces
-rw-r--r-- | include/functions.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php index d328ea19d..0469c512d 100644 --- a/include/functions.php +++ b/include/functions.php @@ -317,6 +317,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")) { |