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
F57173186: D3136.diff
Sun, Nov 15, 17:10
F56785049: D3136.id.diff
Mon, Nov 9, 08:40
F56779432: D3136.id7999.diff
Mon, Nov 9, 07:19
F56778621: D3136.id8000.diff
Mon, Nov 9, 07:07
F56748178: D3136.diff
Sun, Nov 8, 22:55
F56407463: D3136.id8000.diff
Thu, Nov 5, 21:30
F56397354: D3136.id8000.diff
Thu, Nov 5, 19:01
F56397068: D3136.id7999.diff
Thu, Nov 5, 18:57
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