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

Refused to load the font 'data:application/font-woff;charset=utf-8;base6 ,____(character string)' because it violates the following Content Security Policy directive: "font-src 'self' #1040

Closed
benzsos opened this issue May 18, 2020 · 4 comments
Labels

Comments

@benzsos
Copy link

benzsos commented May 18, 2020

When I run the page and look at the console tab. I found this error.

Screen Shot 2563-05-18 at 15 53 52

How to fix it ? Please give me a solution. Thank you

@ishifoev
Copy link

ishifoev commented May 26, 2020

The Content-Security-Policy meta-tag allows you to reduce the risk of XSS attacks by allowing you to define where resources can be loaded from, preventing browsers from loading data from any other locations. This makes it harder for an attacker to inject malicious code into your site.

<meta http-equiv="Content-Security-Policy" content="default-src 'self'">

@barryvdh
Copy link
Owner

Yeah see #1013
Will need to look into that

@stale
Copy link

stale bot commented Jul 29, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If this issue is still present on the latest version of this library on supported Laravel versions, please let us know by replying to this issue so we can investigate further.
Thank you for your contribution! Apologies for any delayed response on our side.

@stale stale bot added the stale label Jul 29, 2020
@stale stale bot closed this as completed Aug 5, 2020
@vanushwashere
Copy link

Any news on this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants