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

data: is not secure #26

Open
cordoval opened this issue Jul 31, 2017 · 0 comments
Open

data: is not secure #26

cordoval opened this issue Jul 31, 2017 · 0 comments

Comments

@cordoval
Copy link

there are some instances, step, dropdowns, rating, checkbox, accordion that use data:

/* Dropdown Carets */
@font-face {
  font-family: 'Dropdown';
  src:
    url(data:application/x-font-ttf;charset=utf-8;bas

As per
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/font-src

This is unsafe, could you please replace this data: with references to specific assets inside semantic-ui folders?

Webpack currently is able to build this package semantic-ui without problems, but on production this is very unsecure use of data:

The solution is simple and just replacing this for the asset could fix it

Thanks

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

No branches or pull requests

1 participant