Uploaded image for project: 'Red Hat Developer Website'
  1. Red Hat Developer Website
  2. DEVELOPER-303

Absolute http link for FontAwesome in app.css makes css and font unusable for https sites

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • 1.0.Beta2
    • None
    • None
    • Important

      app.css contains absolute link for FontAwesome including http protocol. But this makes style unusable for https hosted sites (eg. sso server) as http content is not allowed there by browsers. You have to use protocol relative links there.

      Error message from FF is:

      Error: downloadable font: download not allowed (font-family: "FontAwesome" style:normal weight:normal stretch:normal src index:2): content blocked
      source: http://static.jboss.org/common/www/fonts/font-awesome_fonts_fontawesome-webfont-1.ttf
      Source File: https://www-stg.jboss.org/stylesheets/app.css
      Line: 0
      Source Code:
      @font-face {   font-family: "FontAwesome";   font-style: normal;   font-weight: normal;   src: url("http://static.jboss.org/common/www/fonts/font-awesome_fonts_fontawesome-webfont-1.eot") format("embedded-opentype"), url("http://static.jboss.org/common/www/fonts/font-awesome_fonts_fontawesome-webfont-1.woff") format("woff"), url("http://static.jboss.org/common/www/fonts/font-awesome_fonts_fontawesome-webfont-1.ttf") format("truetype"), url("http://static.jboss.org/common/www/fonts/font-awesome_fonts_fontawesome-webfont-1.svg") format("svg"); }
      

              pmuiratbleepbleep Pete Muir (Inactive)
              velias@redhat.com Vlastimil Eliáš
              Archiver:
              rhn-support-ceverson Clark Everson

                Created:
                Updated:
                Resolved:
                Archived: