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


##########
apisix/plugins/proxy-rewrite.lua:
##########
@@ -161,7 +166,9 @@ function _M.rewrite(conf, ctx)
     end
 
     local upstream_uri = ctx.var.uri
-    if conf.uri ~= nil then
+    if conf.use_real_request_uri_unsafe then
+        upstream_uri = core.utils.resolve_var("real_request_uri", ctx.var)

Review Comment:
   "real_request_uri" is a typo?



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