Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-75651

When redirecting from a custom scheme to another for a font-face in a CSS file it will fail to a blocked CORS policy

    XMLWordPrintable

Details

    • 1b319cab5c5a049093bf165f2909273005fc625c (qt/qtwebengine/dev)

    Description

      When redirecting from a custom scheme to another for a font-face in a CSS file it will fail to a blocked CORS policy. With the example given, it will fail with:

      "js: Redirect from 'dummy:///Akronim-Regular.woff2' to 'redir:///Akronim-Regular.woff2' has been blocked by CORS policy: Redirect location 'redir:///Akronim-Regular.woff2' has a disallowed scheme for cross-origin requests."
      

      whereas the index.html and test.css files are loaded fine. In the example to reproduce start it with:

      dummy:///index.html

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              juri.valdmann Jüri Valdmann (Inactive)
              andysh Andy Shaw
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: