1
0
Fork 0

escape shell args

pull/2445/head
Robert Schönthal 2013-11-23 19:39:04 +01:00
parent 325c57f30c
commit e36d7f23ef
1 changed files with 2 additions and 0 deletions

View File

@ -98,6 +98,8 @@ EOT
*/
private function openBrowser($url)
{
$url = escapeshellarg($url);
if (defined('PHP_WINDOWS_VERSION_MAJOR')) {
return passthru('start "web" explorer "' . $url . '"');
}