summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/functions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php
index 764dea10e..d783bd853 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -354,6 +354,7 @@
global $fetch_last_content_type;
global $fetch_curl_used;
+ $url = ltrim($url, ' ');
$url = str_replace(' ', '%20', $url);
if (!defined('NO_CURL') && function_exists('curl_init')) {