Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to add img-src, font-src and style-src to experimentalCspAllowList values #5993

Closed
6 tasks
cyril-ui-developer opened this issue Nov 7, 2024 · 1 comment

Comments

@cyril-ui-developer
Copy link

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

  1. Go to '...'
  2. Click on '...'
  3. Scroll down to '...'
  4. 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?

Screenshot 2024-11-07 at 3 13 24 PM
@cyril-ui-developer
Copy link
Author

Closed this in favor of cypress-io/cypress#30580

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant