php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #73216 FILTER_FLAG_NO_RES_RANGE and 10.0.0.0/8 range
Submitted: 2016-10-01 08:13 UTC Modified: 2016-10-01 08:39 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: video dot ice dot power at seznam dot cz Assigned:
Status: Duplicate Package: Filter related
PHP Version: 7.0.11 OS: Linux / DotDeb
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: video dot ice dot power at seznam dot cz
New email:
PHP Version: OS:

 

 [2016-10-01 08:13 UTC] video dot ice dot power at seznam dot cz
Description:
------------
http://stackoverflow.com/questions/39804324/bug-in-php-7-0-11-filter-flag-no-res-range

Test script:
---------------
var_dump(filter_var('10.1.1.1', FILTER_VALIDATE_IP, FILTER_FLAG_NO_RES_RANGE));

Expected result:
----------------
string(8) "10.1.1.1"

Actual result:
--------------
bool(false)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-10-01 08:39 UTC] requinix@php.net
-Status: Open +Status: Duplicate
 [2016-10-01 08:39 UTC] requinix@php.net
See bug #72972.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 16:01:28 2024 UTC