Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7725d83

Browse files
author
tomsti
committed
allow=true for 417 return from API to allow internal RFC1918 IP's
1 parent afaca17 commit 7725d83

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core-includes/ipv_validate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function ipv_validate(
8888
break;
8989

9090
case 417: // Invalid IP address - disallow
91-
$allow = false;
91+
$allow = true;
9292
$reason = $terse_reason = 'Invalid IP';
9393
$done = true;
9494
break;

0 commit comments

Comments
 (0)