]> granicus.if.org Git - php/commit
Fixed bug #69768 (escapeshell*() doesn't cater to !)
authorChristoph M. Becker <cmb@php.net>
Tue, 23 Jun 2015 22:15:55 +0000 (00:15 +0200)
committerChristoph M. Becker <cmb@php.net>
Tue, 23 Jun 2015 22:15:55 +0000 (00:15 +0200)
commita621781fdb733167f37027f02bf612696f892d07
tree166f5ffd42996c401394b6763a12798ea9f64c54
parentfdb580a5ade8dc1c2c728a3787a583d7fc05bfe8
Fixed bug #69768 (escapeshell*() doesn't cater to !)

When delayed variable substitution is enabled (can be set in the
Registry, for instance), !ENV! works similar to %ENV%, and so ! should
be escaped like %.
ext/standard/exec.c
ext/standard/tests/general_functions/escapeshellarg_basic-win32.phpt
ext/standard/tests/general_functions/escapeshellcmd-win32.phpt