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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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: Thu Nov 21 15:01:30 2024 UTC