Skip to content

fix: compressed data export with uncompressed filename [DHIS2-22131] - #2302

Merged
Sharmyn28 merged 1 commit into
masterfrom
DHIS2-22131
Oct 5, 2026
Merged

Sharmyn28 merged 1 commit into
masterfrom
DHIS2-22131

Conversation

@Sharmyn28

@Sharmyn28 Sharmyn28 commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

DHIS2-22131

  • getFilenameFromContentDisposition reads the file name from the server's Content-Disposition header.
  • fetchAndDownload reads that header and passes the name to locationAssign, which uses it for the saved file.
  • Fallback: if the header is missing or the browser can't read it, the name still comes from the URL.
image

@sonarqubecloud

sonarqubecloud Bot commented Oct 2, 2026

Copy link
Copy Markdown

@dhis2-bot

Copy link
Copy Markdown
Contributor

🚀 Deployed on https://pr-2302--dhis2-import-export.netlify.app

@dhis2-bot
dhis2-bot temporarily deployed to netlify October 2, 2026 16:20 Inactive
@Sharmyn28
Sharmyn28 merged commit 3bb66bb into master Oct 5, 2026
10 of 11 checks passed
@Sharmyn28
Sharmyn28 deleted the DHIS2-22131 branch October 5, 2026 08:41
@dhis2-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 101.6.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

This branch was previously deployed

1 inactive deployment
netlify — d845ac64 Deployed Oct 2, 2026 by dhis2-bot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants