tzssangglass commented on code in PR #7317:
URL: https://github.com/apache/apisix/pull/7317#discussion_r905660999


##########
apisix/plugins/proxy-rewrite.lua:
##########
@@ -185,6 +185,7 @@ function _M.rewrite(conf, ctx)
         upstream_uri = core.utils.uri_safe_encode(upstream_uri)
     end
 
+    ctx.var.upstream_uri = nil

Review Comment:
   If this line is added, it seems that `upstream_uri` will be set to nil 
whenever the `proxy-rewrite` plugin is used.
   
   It doesn't look like a good fix. We should consider multiple scenarios.



-- 
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: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to