Skip to content
This repository has been archived by the owner on Apr 20, 2022. It is now read-only.

[Bug]: Garbled message response when content-encoding:gzip header #187

Closed
3 tasks done
onesecurity opened this issue Dec 23, 2021 · 0 comments · Fixed by #188 or #200
Closed
3 tasks done

[Bug]: Garbled message response when content-encoding:gzip header #187

onesecurity opened this issue Dec 23, 2021 · 0 comments · Fixed by #188 or #200
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@onesecurity
Copy link

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for an issue that matches the one I want to file, without success.
  • I am not looking for support or already pursued the available support channels without success.

Version

1.0.4

Installation Type

Official Kubernetes

Service Name

DongTai-OpenAPI

Describe the details of the bug and the steps to reproduce it

NOTE: I get a proper response when not adding the accept-encoding header.

  1. When "accept-encoding:gzip" is not added:
HTTP/1.1 200
traceId:317272203498692608
Server:etna
Content-Length:115
DongTai:v1.1.4
Content-Type:application/json; charset=UTF-8

{"rtn":11,"msg":"not login","data":{"msg":"not login","descr":"SESSIONID_INVALID","field":"sessionId"}}
  1. When "accept-encoding: gzip" is added:
HTTP/1.1 200
traceId:317272109697277952
Content-Encoding:gzip
Vary:Accept-Encoding, User-Agent
Server:etna
DongTai:v1.1.4
Content-Type:application/json; charset=UTF-8

����������m�Ok�0�ƿ�С'בd���a0�A/������,�"��J2[ 9�C����}��_���4IaF�=����O��E�'��Q"�AAu��{}� A �$�bE�����Y�WrX��A#�8���������%�ൌ�I1%��^�2yQ�xo���'\<br/>��������|.2���|���b\�1�)�u<br/>��0�h��+��\*7���v��a�كW��|Zl~���Rs]LW��j�1.qQd�jU�<br/>Ex����s?\*g[�k#{��������|5ք�r��;����D���Iɀ�<br/>�� /�P,zi���(������]���$��N��ٿ�!������[����o�T�05e�&��X����ο���/���D�Ҕ�<����]�TB����b�=A��!��q�FY����;g��8��C��X�K�2F�G���k�

Additional Information

No response

Logs

No response

@onesecurity onesecurity added the bug Something isn't working label Dec 23, 2021
@Bidaya0 Bidaya0 linked a pull request Dec 24, 2021 that will close this issue
@Bidaya0 Bidaya0 added the good first issue Good for newcomers label Dec 30, 2021
@Bidaya0 Bidaya0 linked a pull request Jan 7, 2022 that will close this issue
@Bidaya0 Bidaya0 closed this as completed Jan 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
3 participants