cvs: phpdoc /en/reference/mbstring/functions mb-ereg-replace.xml mb-eregi-replace.xml
| From: | Florian Anderiasch | Date: | Sun, 10 May 2009 21:21:10 +0000 |
| Subject: | cvs: phpdoc /en/reference/mbstring/functions mb-ereg-replace.xml mb-eregi-replace.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4000@lists.php.net to get a copy of this message | ||
fa Sun May 10 21:21:10 2009 UTC
Modified files:
/phpdoc/en/reference/mbstring/functions mb-eregi-replace.xml
mb-ereg-replace.xml
Log:
clarification: warning according to bug #48180
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mbstring/functions/mb-eregi-replace.xml?r1=1.9&r2=1.10&diff_format=u
Index: phpdoc/en/reference/mbstring/functions/mb-eregi-replace.xml
diff -u phpdoc/en/reference/mbstring/functions/mb-eregi-replace.xml:1.9
phpdoc/en/reference/mbstring/functions/mb-eregi-replace.xml:1.10
--- phpdoc/en/reference/mbstring/functions/mb-eregi-replace.xml:1.9 Tue Jan 13 12:47:53 2009
+++ phpdoc/en/reference/mbstring/functions/mb-eregi-replace.xml Sun May 10 21:21:09 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
<refentry xml:id="function.mb-eregi-replace" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>mb_eregi_replace</refname>
@@ -74,6 +74,11 @@
&reftitle.notes;
¬e.mbstring.encoding.internal;
+ <warning>
+ <para>
+ Warning: Never use the <literal>e</literal> modifier when working on untrusted
input. No automatic escaping will happen (as known from preg_replace). Not taking care of this will
most likely create remote code execution vulnerabilities in your application.
+ </para>
+ </warning>
</refsect1>
<refsect1 role="seealso">
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mbstring/functions/mb-ereg-replace.xml?r1=1.9&r2=1.10&diff_format=u
Index: phpdoc/en/reference/mbstring/functions/mb-ereg-replace.xml
diff -u phpdoc/en/reference/mbstring/functions/mb-ereg-replace.xml:1.9
phpdoc/en/reference/mbstring/functions/mb-ereg-replace.xml:1.10
--- phpdoc/en/reference/mbstring/functions/mb-ereg-replace.xml:1.9 Tue Jan 13 12:47:53 2009
+++ phpdoc/en/reference/mbstring/functions/mb-ereg-replace.xml Sun May 10 21:21:10 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
<refentry xml:id="function.mb-ereg-replace" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>mb_ereg_replace</refname>
@@ -85,6 +85,11 @@
&reftitle.notes;
¬e.mbstring.encoding.internal;
+ <warning>
+ <para>
+ Warning: Never use the <literal>e</literal> modifier when working on untrusted
input. No automatic escaping will happen (as known from preg_replace). Not taking care of this will
most likely create remote code execution vulnerabilities in your application.
+ </para>
+ </warning>
</refsect1>
<refsect1 role="seealso">