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')) {