From c2e036823da72f352712bbf76d52d2d13aca516b Mon Sep 17 00:00:00 2001 From: Erfan Date: Fri, 12 Mar 2021 11:33:34 +0800 Subject: [PATCH 1/2] Added attribute crossorigin to head.xsd for linkTypes --- lib/internal/Magento/Framework/View/Layout/etc/head.xsd | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/internal/Magento/Framework/View/Layout/etc/head.xsd b/lib/internal/Magento/Framework/View/Layout/etc/head.xsd index 51acc5789a4f8..14aa4fdc9cb87 100644 --- a/lib/internal/Magento/Framework/View/Layout/etc/head.xsd +++ b/lib/internal/Magento/Framework/View/Layout/etc/head.xsd @@ -20,6 +20,14 @@ + + + + + + + + From 08220a352a58ed2bb1038467a87912a7f3af4652 Mon Sep 17 00:00:00 2001 From: Erfan Date: Wed, 17 Mar 2021 09:38:51 +0800 Subject: [PATCH 2/2] Added attribute integrity to head.xsd for linkTypes As documented here: https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity --- lib/internal/Magento/Framework/View/Layout/etc/head.xsd | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/internal/Magento/Framework/View/Layout/etc/head.xsd b/lib/internal/Magento/Framework/View/Layout/etc/head.xsd index 14aa4fdc9cb87..4ecbf81ee32aa 100644 --- a/lib/internal/Magento/Framework/View/Layout/etc/head.xsd +++ b/lib/internal/Magento/Framework/View/Layout/etc/head.xsd @@ -20,6 +20,7 @@ +