1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-29 12:20:51 +02:00

Merge pull request #403 from dzaikos/patch-leading-space-urls

Added ltrim to $url in fetch_file_contents()...
This commit is contained in:
Andrew Dolgov 2014-08-25 13:01:29 +04:00
commit fc1f0a6847

View File

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