Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong decoding of json "\u" #630

Open
nivekz opened this issue Sep 20, 2021 · 0 comments
Open

Wrong decoding of json "\u" #630

nivekz opened this issue Sep 20, 2021 · 0 comments

Comments

@nivekz
Copy link

nivekz commented Sep 20, 2021

  • Product and API: aliyun-java-sdk-kms 2.15.0 & JsonReader class
  • Platform: java
  • Mininum Code:

The aliyun api (KMS) returned "&" as "\u0026". The aliyun-java-sdk-kms library calls JsonReader of aliyun-java-sdk-core to decode. But it simply ignores the '\', resulting in a "u0026".

We expect that the sdk decoder should return either "&", or "\u0026".

@nivekz nivekz changed the title Wrong decoding of json \u Wrong decoding of json "\u" Sep 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant