vrana           Wed Nov  9 06:14:37 2005 EDT

  Modified files:              
    /phpdoc/en  language-snippets.ent 
  Log:
  sm.exec uses escapeshellcmd (bug #35161)
  
http://cvs.php.net/diff.php/phpdoc/en/language-snippets.ent?r1=1.158&r2=1.159&ty=u
Index: phpdoc/en/language-snippets.ent
diff -u phpdoc/en/language-snippets.ent:1.158 
phpdoc/en/language-snippets.ent:1.159
--- phpdoc/en/language-snippets.ent:1.158       Fri Sep 16 13:36:08 2005
+++ phpdoc/en/language-snippets.ent     Wed Nov  9 06:14:34 2005
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.158 $ -->
+<!-- $Revision: 1.159 $ -->
 <!-- Keep 'em sorted -->
 
 
@@ -286,8 +286,8 @@
 executed.'>
 
 <!ENTITY warn.sm.exec '<warning><simpara>With <link 
linkend="features.safe-mode">safe mode</link> enabled,
-all words following the initial command string are treated as a single 
argument. Thus, 
-<literal>echo y | echo x</literal> becomes <literal>echo "y | echo 
x"</literal>.</simpara></warning>'>
+the command string is escaped with <function>escapeshellcmd</function>. Thus, 
+<literal>echo y | echo x</literal> becomes <literal>echo y \| echo 
x</literal>.</simpara></warning>'>
 
 <!ENTITY note.exec-path '<note><simpara>When
 <link linkend="features.safe-mode">safe mode</link> is enabled, you can only

Reply via email to