You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by "eye-gu (via GitHub)" <gi...@apache.org> on 2024/11/05 06:53:43 UTC

[I] [BUG] dubbo example deserialize failed [shenyu]

eye-gu opened a new issue, #5755:
URL: https://github.com/apache/shenyu/issues/5755

   ### Is there an existing issue for this?
   
   - [X] I have searched the existing issues
   
   ### Current Behavior
   
   Start dubbo example, initiate the following HTTP request
   
   ```shell
   curl --location 'http://127.0.0.1:9195/dubbo/demo/batchSave' \
   --header 'Content-Type: application/json' \
   --data '{
       "dubboTestList":[
           {
               "id": "1",
               "name": "shenyu"
           }
       ]
   }'
   ```
   
   Error message: [Serialization Security] Serialized class com.google.gson.internal.LinkedTreeMap is not in allow list. Current mode is `STRICT`, will disallow to deserialize it by default. Please add it into security/serialize.allowlist or follow FAQ to configure it
   
   
   dubbo doc: https://cn.dubbo.apache.org/zh-cn/overview/mannual/java-sdk/tasks/security/class-check/
   
   
   ### Expected Behavior
   
   _No response_
   
   ### Steps To Reproduce
   
   _No response_
   
   ### Environment
   
   ```markdown
   ShenYu version(s):
   ```
   
   
   ### Debug logs
   
   _No response_
   
   ### Anything else?
   
   _No response_


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

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


Re: [I] [BUG] dubbo example deserialize failed [shenyu]

Posted by "yu199195 (via GitHub)" <gi...@apache.org>.
yu199195 closed issue #5755: [BUG] dubbo example deserialize failed
URL: https://github.com/apache/shenyu/issues/5755


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

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