Font Awesome Error Downloadable Font Rejected by Sanitizer

downloadable font: rejected by sanitizer (font-family: “FontAwesome” style:normal weight:normal stretch:normal src index:1) source: http://192.168.1.254/theme/font-awesome/fonts/fontawesome-webfont.woff2?v=4.6.3 http://192.168.1.254/theme/font-awesome/css/font-awesome.min.css Line 4

I was keep getting above error. and i tried lots of stuff found on the internet. (hosting the fonts on own server)

  • CORS issue
  • MIME-type header config in web server

Other combinations of HTTP headers and MIME-types everything that can resolve the issue but nothing solved it.

This Post Has One Comment

  1. No Fault

    Catched !! Solved with replacing

    font-family: ‘fontawesome-webfont’;
    instead of

    font-family: ‘FontAwesome’;

Leave a Reply