Homepage browser console error: "Refused to load the stylesheet"

Open
#390 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
css, html
Domain
security, web-dev

Research direction

Start by loading the homepage and reproducing the browser console error. Trace the homepage's Content Security Policy and stylesheet/font references; done means the intended fonts load without the CSP violation.

Written by the indexing model from the issue text.

Description

Open the browser console and load the homepage:

(index):14 Refused to load the stylesheet 'https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,700&family=Open+Sans:wght@300;400;700&display=swap' because it violates the following Content Security Policy directive: "style-src 'self' data: blob: 'unsafe-inline' 'unsafe-eval' https://www.apachecon.com/ https://www.communityovercode.org/ https://.apache.org/ https://apache.org/ https://.scarf.sh/". Note that 'style-src-elem' was not explicitly set, so 'style-src' is used as a fallback.

Dominant language
HTML
Stars
19
Forks
65
Avg merge
2h 40m
Merged PRs (30d)
7

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/cloudstack-www

All issues in apache/cloudstack-www

Similar issues

More Security issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.