vasiliy-mikhailov opened a new pull request, #16358:
URL: https://github.com/apache/dubbo/pull/16358

   The deprecated two-arg `matchIpExpression(pattern, address)` uses 
`address.endsWith(":")` to detect the `ip:port` format. A real address such as 
`192.168.1.63:90` ends with the port, not a colon, so the host/port split is 
skipped — the full `host:port` string is then used as the host and matching 
fails. Use `contains(":")` to detect the separator.
   
   Added a test covering `ip:port` addresses against patterns with and without 
a port.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to