]> git.wh0rd.org - tt-rss.git/commitdiff
Added ltrim to in fetch_file_contents to fix edge cases where a URL has one or more...
authorDave Zaikos <myself@zaikos.com>
Fri, 22 Aug 2014 20:44:20 +0000 (16:44 -0400)
committerDave Zaikos <myself@zaikos.com>
Fri, 22 Aug 2014 20:44:20 +0000 (16:44 -0400)
include/functions.php

index 764dea10eccee68ebaef8e765e4c0bd0442cb80c..d783bd8531b2dbaf55593f0acd50425b82cd6900 100644 (file)
                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')) {