bzp2010 commented on code in PR #7778:
URL: https://github.com/apache/apisix/pull/7778#discussion_r958094034


##########
apisix/admin/v3_adapter.lua:
##########
@@ -180,9 +181,33 @@ function _M.filter(body)
     end
 
     local args = request.get_uri_args()
+    local processed_body = deepcopy(body)

Review Comment:
   @spacewander In the comment above, @soulbird  points out that we need to 
copy the body to avoid logical and coding problems.
   https://github.com/apache/apisix/pull/7778#discussion_r957974650
   
   Do you think we need it?



##########
apisix/admin/v3_adapter.lua:
##########
@@ -180,9 +181,33 @@ function _M.filter(body)
     end
 
     local args = request.get_uri_args()
+    local processed_body = deepcopy(body)

Review Comment:
   @spacewander In the comment above, @soulbird  points out that we need to 
copy the body to avoid logical and coding problems. 
https://github.com/apache/apisix/pull/7778#discussion_r957974650
   
   Do you think we need it?



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