membphis commented on code in PR #13080:
URL: https://github.com/apache/apisix/pull/13080#discussion_r2909429795
##########
apisix/plugins/ext-plugin/init.lua:
##########
@@ -706,9 +706,13 @@ local rpc_handlers = {
end
core.request.set_uri_args(ctx, args)
+ end
- if path then
- var.upstream_uri = path .. '?' .. var.args
+ if path then
+ if var.args and var.args ~= "" and not core.string.find(path,
"?") then
Review Comment:
can we use this variable `var.is_args`?
https://nginx.org/en/docs/http/ngx_http_core_module.html#var_is_args
--
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]