From: Sunjay Cauligi Date: Sat, 6 Apr 2013 09:05:11 +0000 (-0700) Subject: fix for fetching urls with spaces X-Git-Tag: 1.7.9~54^2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=2375b6b6b5d804040927338c820bd14b02043e44;p=tt-rss.git fix for fetching urls with spaces --- diff --git a/include/functions.php b/include/functions.php index d328ea19..0469c512 100644 --- a/include/functions.php +++ b/include/functions.php @@ -317,6 +317,8 @@ global $fetch_last_error; global $fetch_last_error_code; + + $url = str_replace(' ', '%20', $url); if (!defined('NO_CURL') && function_exists('curl_init') && !ini_get("open_basedir")) {