philipsens commented on issue #2723:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/2723#issuecomment-4571758243

   > The `GetStringsAnnotation` method, after splitting strings using 
`strings.Split(value, ",")`, does not call `strings.TrimSpace` on each element. 
This results in the splitting result containing leading spaces (" 0.0.0.0") 
when there are spaces after the comma (e.g., `127.0.0.1, 0.0.0.0`). This string 
with spaces fails validation when passed to APISIX as an IP address.
   
   Good summarization of the issue. Seems like a pretty easy fix. @vdegans 
already opened a PR a while ago.
   
   


-- 
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]

Reply via email to