Page MenuHomeDevCentral

Define Access-Control-Allow-Origin for CSS for assets.
ClosedPublic

Authored by dereckson on May 26 2023, 01:22.
Tags
None
Referenced Files
F43021686: D3136.id8000.diff
Mon, Aug 10, 13:49
F43011683: D3136.id8000.diff
Mon, Aug 10, 12:46
F43003255: D3136.diff
Mon, Aug 10, 11:59
F43003021: D3136.diff
Mon, Aug 10, 11:58
F42959902: D3136.id7999.diff
Mon, Aug 10, 07:09
Unknown Object (File)
Sun, Aug 9, 10:13
Unknown Object (File)
Thu, Aug 6, 07:24
Unknown Object (File)
Wed, Aug 5, 14:35
Subscribers
None

Details

Summary

To be sure the assets site serves the expected file, we can use the SRI,
Subresource Integrity mechanism to store a hash in the <link> tag.

If the URL does not support Cross-Origin Resource Sharing (CORS),
the SRI mechanism can't work. We so allow access from all origins.

Reference: https://www.w3.org/TR/SRI/

Ref T1881

Test Plan

Tested with D3119 to load D3135 CSS

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable