[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/exec/functions/_escapeshellcmd.xml?=
From:       Christoph_Michael_Becker <cmb () php ! net>
Date:       2020-05-25 15:53:30
Message-ID: svn-cmb-1590422010-349978-1722170709 () svn ! php ! net
[Download RAW message or body]

cmb                                      Mon, 25 May 2020 15:53:30 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=349978

Log:
escapeshellcmd() works on Windows for a looong time

Changed paths:
    U   phpdoc/en/trunk/reference/exec/functions/escapeshellcmd.xml

Modified: phpdoc/en/trunk/reference/exec/functions/escapeshellcmd.xml
===================================================================
--- phpdoc/en/trunk/reference/exec/functions/escapeshellcmd.xml	2020-05-25 10:13:26 UTC (rev 349977)
+++ phpdoc/en/trunk/reference/exec/functions/escapeshellcmd.xml	2020-05-25 15:53:30 UTC (rev 349978)
@@ -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 @@
         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>



-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic