ruanweihong-aaa opened a new pull request, #14163: URL: https://github.com/apache/apisix/pull/14163
### Description With servlet normalization enabled, comparing `upstream_uri` with `servlet_upstream_uri` cannot distinguish an unchanged URI from an explicit same-path rewrite that omits the query string. The latter can have query arguments appended again, overriding the plugin's intended URI. Track explicit writes through `ctx.var.upstream_uri` and respect them when constructing both the main upstream URI and the proxy-mirror URI. Query-only changes continue to use the current request arguments when no explicit URI override is present. ### Dependency This draft builds on #14040 and retains its original commits. It includes that PR's base fix together with the explicit-override follow-up so the branch is complete against master. The changes after #14040 are in commit f0c50860. Related to #13983. -- 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]
