boekkooi-lengoo commented on code in PR #10645:
URL: https://github.com/apache/apisix/pull/10645#discussion_r1437835190
##########
apisix/core/ctx.lua:
##########
@@ -274,6 +274,15 @@ do
end
end
+ elseif core_str.has_prefix(key, "uri_arg_") then
+ if t._ctx.curr_req_matched then
+ local arg_key = (sub_str(key, 9))
+ val = t._ctx.curr_req_matched[arg_key]
+ if val == nil then
+ log.warn("failed to fetch uri argument: ", arg_key)
Review Comment:
This was inspired by
https://github.com/apache/apisix/blob/master/apisix/core/ctx.lua#L245
Not sure why this should not write a warning.
--
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]