com web/master: Quote the url as it contains plenty of special chars: scripts/update-backend

From: Date: Sun, 29 Dec 2013 00:21:34 +0000
Subject: com web/master: Quote the url as it contains plenty of special chars: scripts/update-backend
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-17865@lists.php.net to get a copy of this message
Commit: d271d4a5891ab19946f86ab990dd0f0ad38e20de Author: Hannes Magnusson <bjori@mongodb.com> 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

« previous php.webmaster (#17865) next »