Package
react-file-type-icons
Package version
8.16.0
React version
18.2.0
Environment
Current Behavior
Assets such as https://res.cdn.office.net/files/fabric-cdn-prod_20260113.001/assets/item-types/24/docx.svg do not send the cross-origin-resource-policy header.
Expected Behavior
A cross-origin-resource-policy: cross-origin header is expected for all publicly usable CDN assets to allow users to specify COEP headers on their sites.
Reproduction
N/A as reproduction requires setting server headers. Use curl -I https://res.cdn.office.net/files/fabric-cdn-prod_20260113.001/assets/item-types/24/docx.svg to confirm header isn't present.
Steps to reproduce
- Use existing app or create a React app that uses the
"@fluentui/react-file-type-icons" package
- Set the site server to return the COEP header as
Cross-Origin-Embedder-Policy: require-corp
- Attempt to load images will fail.
Example errors from Chrome:
Are you reporting an Accessibility issue?
None
Suggested severity
Medium - Has workaround
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
Validations
Package
react-file-type-icons
Package version
8.16.0
React version
18.2.0
Environment
Current Behavior
Assets such as https://res.cdn.office.net/files/fabric-cdn-prod_20260113.001/assets/item-types/24/docx.svg do not send the
cross-origin-resource-policyheader.Expected Behavior
A
cross-origin-resource-policy: cross-originheader is expected for all publicly usable CDN assets to allow users to specify COEP headers on their sites.Reproduction
N/A as reproduction requires setting server headers. Use
curl -I https://res.cdn.office.net/files/fabric-cdn-prod_20260113.001/assets/item-types/24/docx.svgto confirm header isn't present.Steps to reproduce
"@fluentui/react-file-type-icons"packageCross-Origin-Embedder-Policy: require-corpExample errors from Chrome:
Are you reporting an Accessibility issue?
None
Suggested severity
Medium - Has workaround
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
Validations