Lewisyixin commented on PR #7807:
URL: https://github.com/apache/apisix/pull/7807#issuecomment-1229816211

   Exactly, I can't guarantee it.  The first time I  encountered this kind of 
problem is when dealing with data in 
etcd((https://github.com/apache/apisix/discussions/7606)) . Then I found it was 
caused by lua-json and avoid it by turning off 
`json.encode_escape_forward_slash` in my own plugin next time.
   When I found other people meeting the same problem in 
https://github.com/apache/apisix/issues/7785 I helped them param and asked 
[spacewander](https://github.com/spacewander) if this param can be default 
turned off in `apisix.core.json` to avoid backslash before slash when json 
encoding. He let me to try to submit a PR.
   I learned this param from 
https://github.com/openresty/lua-cjson/#encode_escape_forward_slash and used it 
in my plugin for some months.  But determining whether it will affect other 
components in apisix is  maybe beyond my ability.
     


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