]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix for fetching urls with spaces
authorSunjay Cauligi <sunjayc@cs.washington.edu>
Sat, 6 Apr 2013 09:05:11 +0000 (02:05 -0700)
committerSunjay Cauligi <sunjayc@cs.washington.edu>
Sat, 6 Apr 2013 09:05:11 +0000 (02:05 -0700)
include/functions.php

index d328ea19d99d870730fd075065d8c89c300ad134..0469c512d99baaa9f6dee0157cc0bf4f49210a5d 100644 (file)
 
                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")) {