summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSunjay Cauligi <[email protected]>2013-04-06 02:05:11 -0700
committerSunjay Cauligi <[email protected]>2013-04-06 02:05:11 -0700
commit2375b6b6b5d804040927338c820bd14b02043e44 (patch)
tree9896167c6010ae005fa2e829abf571dcafefff06 /include
parent2b28c8f2da94c5cac2aacf13d83d370df11f29f3 (diff)
fix for fetching urls with spaces
Diffstat (limited to 'include')
-rw-r--r--include/functions.php2
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")) {