Unable to add `img-src`, `font-src` and `style-src` to `experimentalCspAllowList` values
cyril-ui-developer opened this issue · 1 comments
cyril-ui-developer commented
Description
I am unable add img-src
, font-src
and style-src
to experimentalCspAllowList
values in cypress.config. I got the error: Expected experimentalCspAllowList to be an array including any of these values: ["script-src-elem", "script-src", "default-src", "form-action", "child-src", "frame-src"]..
URL of Issue(s)
https://docs.cypress.io/app/references/experiments#Experimental-CSP-Allow-List
Steps to replicate
- Go to '...'
- Click on '...'
- Scroll down to '...'
- See error
Browser
No response
Device
- PC
- Mac
- iPhone
- iPad
- Android Phone
- Android Tablet
Additional Information
Our CSP implementation including img-src
, font-src
and style-src
, but these are not valid for to experimentalCspAllowList
values. Is this intentional, and is there a workaround for this?
cyril-ui-developer commented
Closed this in favor of cypress-io/cypress#30580