Uploaded image for project: 'Workspaces'
  1. Workspaces
  2. WORKSPACES-279

Inapropriate call(s) to googleapis Font

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.0.0
    • Component/s: Projects
    • Labels:
      None

      Description

      When trying to display Project home page, the following error occurs (for a project in HTTPS)  :

      Mixed Content: The page at 'https://ent-espace.paris-sorbonne.fr/projet-test/fr/index.html' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Dosis:300,700|Ubuntu+Mono|Lato:300,400,700,300italic,400italic&subset=latin,latin-ext'. This request has been blocked; the content must be served over HTTPS.

       

      => Some labels cannot be displayed

       

      Source code to be fixed :

      <xsl:template name="common-workspaces-head-css">
             <link rel="stylesheet" type="text/css" framework="true" href="{ametys:pluginResourceURL('bootstrap', 'css/bootstrap.css')}" />
             <link rel="stylesheet" type="text/css" href="{ametys:pluginResourceURL('workspaces', 'css/vendor/font-awesome/css/font-awesome.css')}" />
             <link rel="stylesheet" type="text/css" href="{ametys:pluginResourceURL('workspaces', 'css/workspaces.css')}" />
             <!-- FIXME Do not use remote font -->
             <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Dosis:300,700|Ubuntu+Mono|Lato:300,400,700,300italic,400italic&amp;subset=latin,latin-ext"/>
         </xsl:template>

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dcartier David Cartier-Michaud
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: