Edit report at https://bugs.php.net/bug.php?id=72972&edit=1
ID: 72972
Updated by: cmb@php.net
Reported by: mrowiec dot adam at gmail dot com
Summary: Bad filter for the flags FILTER_FLAG_NO_RES_RANGE
and FILTER_FLAG_NO_PRIV_RANGE
-Status: Re-Opened
+Status: Closed
Type: Documentation Problem
Package: filter
Operating System: Linux
PHP Version: 5.6.25
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
I have updated the FILTER_FLAG_NO_(RES|PRIV)_RANGE docs to what
these constants should do[1]. That is also what the implementation
currently does, except for FILTER_FLAG_NO_RES_RANGE for IPv6
addresses. This still implements RFC 5156[2] which has, however,
been obsoleted by RFC 6890[3]. I'll open a new ticket wrt. this
issue.
[1] <http://svn.php.net/viewvc?view=revision&revision=340004>
[2] <https://tools.ietf.org/html/rfc5156>
[3] <https://tools.ietf.org/html/rfc6890>
Previous Comments:
------------------------------------------------------------------------
[2016-09-08 08:44:39] jpauli@php.net
Doc for FILTER_FLAG_NO_RES_RANGE needs an update
------------------------------------------------------------------------
[2016-09-05 08:15:22] jpauli@php.net
Just merged that
------------------------------------------------------------------------
[2016-09-05 08:13:31] jpauli@php.net
Automatic comment on behalf of jpauli
Revision: http://git.php.net/?p=php-src.git;a=commit;h=9834978a8b80dace62adfc82b41918dc239e9e85
Log: Fix #72972, Bad filter for the flags FILTER_FLAG_NO_RES_RANGE and FILTER_FLAG_NO_PRIV_RANGE
------------------------------------------------------------------------
[2016-09-04 10:10:13] mrowiec dot adam at gmail dot com
FILTER_FLAG_NO_PRIV_RANGE - is OK
FILTER_FLAG_NO_RES_RANGE - is OK
------------------------------------------------------------------------
[2016-09-02 08:15:27] jpauli@php.net
Please have a look at https://github.com/php/php-src/pull/2113 with
tests.
Tell me if it is OK
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=72972
--
Edit this bug report at https://bugs.php.net/bug.php?id=72972&edit=1