Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Response is formatted in JSON disregard of download format #49

Closed
dai-chen opened this issue May 1, 2020 · 0 comments
Closed

Response is formatted in JSON disregard of download format #49

dai-chen opened this issue May 1, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@dai-chen
Copy link

dai-chen commented May 1, 2020

In our code, the response appears to be formatted by JSON.stringfy no matter what's the download format. This will corrupt the content in csv and txt because they're not JSON.

Code: https://github.com/opendistro-for-elasticsearch/sql-kibana-plugin/blob/415ace37b69112318087cec4eb0e2de46c437666/server/services/QueryService.ts#L34

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant