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

Offer metadata as file for download #77

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

sergei-maertens
Copy link
Member

Closes #75

Using Content-Disposition attachment offers the file for download to the client rather than viewing it inline.

The actual reason the dislaying was botched was because of the content security policy which blocked styles (not sure how that works). However, if that were to be addressed, it leaves the certificate data newlines being displayed as spaces, still producing content that is not ready to copy-and-paste, so downloading a file is the best option.

Using Content-Disposition attachment offers the file for download to
the client rather than viewing it inline.

The actual reason the dislaying was botched was because of the content
security policy which blocked styles (not sure how that works).
However, if that were to be addressed, it leaves the certificate data
newlines being displayed as spaces, still producing content that is
not ready to copy-and-paste, so downloading a file is the best option.
Copy link

codecov bot commented Jul 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.86%. Comparing base (0189ace) to head (85b52f9).
Report is 36 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #77      +/-   ##
==========================================
+ Coverage   90.85%   90.86%   +0.01%     
==========================================
  Files          51       51              
  Lines        1651     1653       +2     
  Branches      152      152              
==========================================
+ Hits         1500     1502       +2     
  Misses        110      110              
  Partials       41       41              
Flag Coverage Δ
base 89.36% <100.00%> (+0.01%) ⬆️
oidc 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sergei-maertens sergei-maertens merged commit 170d6a9 into master Jul 17, 2024
17 checks passed
@sergei-maertens sergei-maertens deleted the feature/75-metadata-as-download branch July 17, 2024 15:29
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.

The download metadata button results in an XML file shown as a HTML file
1 participant