1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-22 15:41:29 +00:00

fix for fetching urls with spaces

This commit is contained in:
Sunjay Cauligi
2013-04-06 02:05:11 -07:00
parent 2b28c8f2da
commit 2375b6b6b5

View File

@@ -317,6 +317,8 @@
global $fetch_last_error; global $fetch_last_error;
global $fetch_last_error_code; global $fetch_last_error_code;
$url = str_replace(' ', '%20', $url);
if (!defined('NO_CURL') && function_exists('curl_init') && !ini_get("open_basedir")) { if (!defined('NO_CURL') && function_exists('curl_init') && !ini_get("open_basedir")) {