You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "fengxsong (via GitHub)" <gi...@apache.org> on 2023/04/12 09:22:52 UTC

[GitHub] [apisix] fengxsong commented on a diff in pull request #9194: feat: proxy_rewrite support miltiple regex pattern matching

fengxsong commented on code in PR #9194:
URL: https://github.com/apache/apisix/pull/9194#discussion_r1163862458


##########
apisix/plugins/proxy-rewrite.lua:
##########
@@ -263,109 +274,118 @@ do
     end
 
 
-function _M.rewrite(conf, ctx)
-    for _, name in ipairs(upstream_names) do
-        if conf[name] then
-            ctx.var[upstream_vars[name]] = conf[name]
+    function _M.rewrite(conf, ctx)

Review Comment:
   Files are automatically formatted by vscode editor. I'll revert changes except code change related to this feature only.



-- 
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-unsubscribe@apisix.apache.org

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