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: add data: to font-src CSP #1921

Merged
merged 1 commit into from
Oct 18, 2023
Merged

fix: add data: to font-src CSP #1921

merged 1 commit into from
Oct 18, 2023

Conversation

piraces
Copy link
Contributor

@piraces piraces commented Oct 13, 2023

Fixes #1920

As stated in #1920, the CSP header for font-src needs to include data: scheme in order to support current frontend css fonts.

@codecov
Copy link

codecov bot commented Oct 18, 2023

Codecov Report

Merging #1921 (7b755a3) into master (6bba020) will not change coverage.
Report is 43 commits behind head on master.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1921   +/-   ##
=======================================
  Coverage   74.15%   74.15%           
=======================================
  Files           7        7           
  Lines         561      561           
=======================================
  Hits          416      416           
  Misses        113      113           
  Partials       32       32           
Files Coverage Δ
pkg/server/server.go 84.79% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@jhaals
Copy link
Owner

jhaals commented Oct 18, 2023

Thanks for addressing this 👏

@jhaals jhaals merged commit 370371f into jhaals:master Oct 18, 2023
10 checks passed
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.

yopass-server CSP for font-src needs to have data:
2 participants