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

Relax CSP for styles and connect URLs #7097

Merged
merged 2 commits into from
Jan 24, 2024
Merged

Conversation

sainak
Copy link
Member

@sainak sainak commented Jan 24, 2024

This pull request relaxes the Content-Security-Policy (CSP) for styles and connect URLs. Specifically, it changes the style-src directive to allow 'unsafe-inline' styles and the connect-src directive to allow all URLs. This update is necessary to resolve issues with certain styles and connections being blocked by the CSP.

@sainak sainak requested a review from a team as a code owner January 24, 2024 14:54
Copy link

netlify bot commented Jan 24, 2024

Deploy Preview for care-egov-staging ready!

Name Link
🔨 Latest commit a2bf4e2
🔍 Latest deploy log https://app.netlify.com/sites/care-egov-staging/deploys/65b13707db2ebe0008f120d7
😎 Deploy Preview https://deploy-preview-7097--care-egov-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

vercel bot commented Jan 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
care-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 24, 2024 4:13pm

Copy link

cypress bot commented Jan 24, 2024

Passing run #1960 ↗︎

0 104 0 0 Flakiness 0

Details:

Relax CSP for styles and connect URLs
Project: CARE Commit: a2bf4e2534
Status: Passed Duration: 02:45 💡
Started: Jan 24, 2024 4:16 PM Ended: Jan 24, 2024 4:19 PM

Review all test suite changes for PR #7097 ↗︎

@nihal467
Copy link
Member

LGTM

@sainak
Copy link
Member Author

sainak commented Jan 24, 2024

Lgtm

@nihal467 nihal467 linked an issue Jan 24, 2024 that may be closed by this pull request
4 tasks
@khavinshankar khavinshankar merged commit a4d060f into develop Jan 24, 2024
62 checks passed
@khavinshankar khavinshankar deleted the sainak/fix/csp-unsafe branch January 24, 2024 16:57
Copy link

@sainak We truly appreciate your efforts. Thank you for taking the time to contribute; this is a very valuable contribution to us 🥇. We always welcome your contribution 🙂, so feel free to contribute to anything anytime, and never lose that spirit of innovation 🙌.

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

Successfully merging this pull request may close these issues.

Notification inline style is malfunctioning
5 participants