Closed Seagull-4auKa closed 2 years ago
https://github.com/akrabat/ip-address-middleware/blob/90c38ef95d46c59e12eea236a4d592c03889bbaa/src/IpAddress.php#L195-L206 If first proxy from trustedWildcard does not match, break 2; exits two cycles instead of one. Thus ignoring the rest of the wildcard list
trustedWildcard
break 2;
Thanks @Seagull-4auKa. Fixed in version 2.1.0
https://github.com/akrabat/ip-address-middleware/blob/90c38ef95d46c59e12eea236a4d592c03889bbaa/src/IpAddress.php#L195-L206 If first proxy from
trustedWildcard
does not match,break 2;
exits two cycles instead of one. Thus ignoring the rest of the wildcard list