1
0
mirror of https://github.com/php/doc-en.git synced 2026-04-23 15:28:17 +02:00
Files
archived-doc-en/reference/exec/functions/escapeshellcmd.xml
T
Juliette 1ea4e4f576 escapeshellcmd: add warning about spaces in paths on Windows (#511)
It is a known issue that spaces are not escaped in shell commands, which can be especially problematic on Windows.
This adds a warning about this behaviour to the function, including a way to solve this in userland code.

Ref: https://bugs.php.net/bug.php?id=43261 (last two comments)

Also see: https://github.com/squizlabs/PHP_CodeSniffer/pull/3214

Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
2021-04-05 18:39:54 +02:00

4.0 KiB