Skip to content

Commit d9b2b4a

Browse files
[~] Parse IP improvements CactuseSecurity#3110
1 parent 2c6b11f commit d9b2b4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/lib/files/FWO.Services/ModellingAppServerHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ private bool CheckAppServer()
101101

102102
private static bool CheckIpAdress(string ip)
103103
{
104-
return IPAddressRange.TryParse(ip, out _);
104+
return IPAddressRange.TryParse(ip, out _) && ip.TryParseIPStringToRange(out _, strictv4Parse: true);
105105
}
106106
}
107107
}

0 commit comments

Comments
 (0)