Uploaded image for project: 'Hippo Site Toolkit 2'
  1. Hippo Site Toolkit 2
  2. HSTTWO-3368

When a CDN is configured the HST should add the Access-Control-Allow-Origin header

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: 2.30.03
    • Fix Version/s: 3.2.0
    • Component/s: None
    • Labels:
    • Similar issues:

      Description

      Font loading fails when using a CDN when it is loaded from a stylesheet that is served from the CDN. If the HST add the correct header with Access-Control-Allow-Origin: http://<hostname> it will work transparently.

      For reference see:
      http://stackoverflow.com/questions/27726802/css-font-being-blocked-from-cross-origin-resource-sharing-policy
      https://en.wikipedia.org/wiki/Cross-origin_resource_sharing
      http://stackoverflow.com/questions/25577981/font-from-origin-has-been-blocked-from-loading-by-cross-origin-resource-sharing

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bvdschans Bart van der Schans
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: