apache / apache/cloudstack-www

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

Open
#390 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
19
Forks
65
Avg merge
1d 16h
Merged PRs (30d)
9

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.

Contributor guide

Open the contributing guide

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.