svn: /phpdoc/en/trunk/reference/filter/ filters.xml
| From: | Christoph Michael Becker | Date: | Wed, 19 Aug 2015 13:40:07 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/filter/ filters.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-13627@lists.php.net to get a copy of this message | ||
cmb Wed, 19 Aug 2015 13:40:07 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=337553
Log:
As of PHP 5.5.11/5.3.1 FILTER_SANITIZE_EMAIL removes slashes (see #70298)
Bug: https://bugs.php.net/70298 (Verified) filter_var
strips '/' characters, counter to docs
Changed paths:
U phpdoc/en/trunk/reference/filter/filters.xml
Modified: phpdoc/en/trunk/reference/filter/filters.xml
===================================================================
--- phpdoc/en/trunk/reference/filter/filters.xml 2015-08-19 12:40:37 UTC (rev 337552)
+++ phpdoc/en/trunk/reference/filter/filters.xml 2015-08-19 13:40:07 UTC (rev 337553)
@@ -201,7 +201,7 @@
<entry></entry>
<entry>
Remove all characters except letters, digits and
- <literal>!#$%&'*+-/=?^_`{|}~@.[]</literal>.
+ <literal>!#$%&'*+-=?^_`{|}~@.[]</literal>.
</entry>
</row>
<row>
@@ -334,6 +334,32 @@
</example>
</para>
</warning>
+
+ <simplesect role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>5.2.11/5.3.1</entry>
+ <entry>
+ Slashes (<literal>/</literal>) are removed by
+ <constant>FILTER_SANITIZE_EMAIL</constant>. Prior they were retained.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </simplesect>
+
</section>
<!--}}}-->