shreemaan-abhishek commented on code in PR #13905:
URL: https://github.com/apache/apisix/pull/13905#discussion_r3921032776


##########
apisix/plugins/wolf-rbac.lua:
##########
@@ -276,6 +313,14 @@ function _M.rewrite(conf, ctx)
         return 401, fail_response("Invalid appid in rbac token")
     end
     core.log.info("consumer appid: ", appid)
+    local prefix = conf.header_prefix

Review Comment:
   Good catch. Updated to preserve Consumer `header_prefix` behavior and use a 
new Route/Service `output_header_prefix` as the explicit opt-in. I also added 
the persisted `header_prefix: "X-"` upgrade regression.



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