escapeshellcmd() works on Windows for a looong time

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349978 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2020-05-25 15:53:30 +00:00
parent 5e803ed87f
commit d4fc011c85

View file

@ -27,8 +27,9 @@
Following characters are preceded by a backslash:
<literal>&amp;#;`|*?~&lt;&gt;^()[]{}$\</literal>, <literal>\x0A</literal>
and <literal>\xFF</literal>. <literal>'</literal> and <literal>"</literal>
are escaped only if they are not paired. In Windows, all these characters
plus <literal>%</literal> and <literal>!</literal> are replaced by a space instead.
are escaped only if they are not paired. On Windows, all these characters
plus <literal>%</literal> and <literal>!</literal> are preceded by a caret
(<literal>^</literal>).
</para>
</refsect1>
@ -105,6 +106,13 @@ system($escaped_command);
Exclamation marks are replaced by spaces.
</entry>
</row>
<row>
<entry>5.3.0</entry>
<entry>
On Windows, the special characters are now properly escaped.
Previously, they have been replaced with a space character.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>