Skip to content

Conversation

@gmkll
Copy link
Contributor

@gmkll gmkll commented Apr 2, 2025

loading from remote was "refused to load because of Content Security Policy directives" .. "style-src" .. "script-src" ..
This happens in current browsers chrome, FF, Edge with default security settings.
Follow up error is Uncaught Error: Bootstrap's JavaScript requires jQuery.

…as refused to load because of Content Security Policy directives "style-src" .. "script-src" .. in default browsers chrome/FF,edge with default security settings
@tzaeschke
Copy link
Contributor

tzaeschke commented Apr 8, 2025

Thanks for the patch!

We applied the same change to the JDO site and it works fine: https://db.apache.org/jdo/#

(Except an error on the console which we can ignore at the moment:
Content-Security-Policy: The page’s settings blocked a style (style-src-elem) at https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700 from being applied because it violates the following directive: “style-src 'self' 'unsafe-inline' data: https://*.apache.org/ https://apache.org/”)

--> LGTM

@tzaeschke tzaeschke self-requested a review April 8, 2025 19:09
@tzaeschke tzaeschke merged commit 0e7380c into apache:main Aug 14, 2025
1 check 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.

3 participants