Commit: d271d4a5891ab19946f86ab990dd0f0ad38e20de Author: Hannes Magnusson <[email protected]> Sat, 28 Dec 2013 16:21:34 -0800 Parents: bc5ef4f2d836d8b58e8ca90798c593f716ff32c1 Branches: master
Link: http://git.php.net/?p=web/master.git;a=commitdiff;h=d271d4a5891ab19946f86ab990dd0f0ad38e20de Log: Quote the url as it contains plenty of special chars This fixes our ip2country database which has been broken for a while Changed paths: M scripts/update-backend Diff: diff --git a/scripts/update-backend b/scripts/update-backend index eb85d01..3f984de 100755 --- a/scripts/update-backend +++ b/scripts/update-backend @@ -71,7 +71,7 @@ function fetch_into_file($url, $file) return; } } else { - $source = popen("curl -s $url", 'r'); + $source = popen("curl -s '$url'", 'r'); } // Open temporary file for writing -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
