spacewander commented on code in PR #8564:
URL: https://github.com/apache/apisix/pull/8564#discussion_r1058071044


##########
apisix/plugins/proxy-rewrite.lua:
##########
@@ -297,6 +297,8 @@ do
         else
             ctx.var.upstream_uri = upstream_uri
         end
+    else
+        ctx.var.upstream_uri = upstream_uri

Review Comment:
   I see. Can you add a test case to cover this? You can learn how to write 
test by reading 
https://github.com/apache/apisix/blob/master/docs/en/latest/internal/testing-framework.md



-- 
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]

Reply via email to