-
Notifications
You must be signed in to change notification settings - Fork 919
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
[BUG] CSV download has wrong MIME type #640
Comments
Hello @dpocock! Would you be able to update the description to reproduce to include details like where you navigated and update the environment details? Trying to recreate and I don't get the same behavior but I could be in a completely different area of the application as you. Thank you! |
Please try this:
It will offer you a CSV file (based on the filename extension) but it says the document is plain text. |
Ah yes I see it now. Will remove the untriaged label for now. |
Attached the |
Blobs representing CSV content are generated on the browser which are then exported as downloadables. The mime-types were incorrectly set to text/plain in a few places. This commit changes the mime-type to be text/csv. Issues Resolved opensearch-project#640 Signed-off-by: Miki <mehranb@amazon.com>
Blobs representing CSV content are generated on the browser which are then exported as downloadables. The mime-types were incorrectly set to text/plain in a few places. This commit changes the mime-type to be text/csv. Issues Resolved #640 Signed-off-by: Miki <mehranb@amazon.com>
Blobs representing CSV content are generated on the browser which are then exported as downloadables. The mime-types were incorrectly set to text/plain in a few places. This commit changes the mime-type to be text/csv. Issues Resolved opensearch-project#640 Signed-off-by: Miki <mehranb@amazon.com>
Blobs representing CSV content are generated on the browser which are then exported as downloadables. The mime-types were incorrectly set to text/plain in a few places. This commit changes the mime-type to be text/csv. Issues Resolved #640 Signed-off-by: Miki <mehranb@amazon.com>
Describe the bug
I tried to download a CSV
The server told me it was text/plain
The browser wanted to open it in a text editor
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The MIME type should be
text/csv
The browser should offer to open the file in a spreadsheet, not a text editor.
OpenSearch Version
opensearch-1.0.0-rc1
Dashboards Version
"version": "1.0.0-rc1",
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: