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

Fix content-disposition header #2431

Merged
merged 1 commit into from
Mar 24, 2024

Conversation

gramakri
Copy link
Contributor

For downloads with unknown file types (like xls, zip), the content is displayed inline in Chrome. Works fine in Firefox without this change.

Link to ticket

No ticket. Reported on Cloudron forum at https://forum.cloudron.io/topic/11347/issue-with-file-opening-downloading-in-leantime-application

Description

content-disposition is not set correctly for chrome browser when downloading unknown file types

Screenshot of the result

No change in UI

Checklist

I have only tested this change locally on Cloudron and have not run the tests.

Additional comments or questions

If you have any further comments or questions for the reviewer, please add them here.

For downloads with unknown file types (like xls, zip), the content
is displayed inline in Chrome. Works fine in Firefox without this
change.
@gramakri gramakri requested a review from a team as a code owner March 23, 2024 09:37
@gramakri gramakri requested review from marcelfolaron and removed request for a team March 23, 2024 09:37
@CLAassistant
Copy link

CLAassistant commented Mar 23, 2024

CLA assistant check
All committers have signed the CLA.

@marcelfolaron marcelfolaron merged commit d0c095b into Leantime:master Mar 24, 2024
4 checks passed
@gramakri gramakri deleted the content-disposition branch March 27, 2024 08:56
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

Successfully merging this pull request may close these issues.

3 participants