crazyMonkey1995 commented on code in PR #6988:
URL: https://github.com/apache/apisix/pull/6988#discussion_r870117005
##########
apisix/plugins/real-ip.lua:
##########
@@ -106,7 +106,7 @@ local function get_addr(conf, ctx)
if conf.recursive and conf.trusted_addresses then
local split_addrs = {}
- local match_itr = str_gmatch(addrs, "[^,%s*]+")
+ local match_itr = ngx.re.gmatch(addrs, "[^,%s*]+", "jo")
Review Comment:
Sorry for that, I should have tested it first
--
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]