Skip to content

Conversation

@Jtrust
Copy link
Member

@Jtrust Jtrust commented Jan 25, 2026

No description provided.

@netlify
Copy link

netlify bot commented Jan 25, 2026

Deploy Preview for skywalking-website-preview ready!

Name Link
🔨 Latest commit f35ddf4
🔍 Latest deploy log https://app.netlify.com/projects/skywalking-website-preview/deploys/69758c17b1c6100008ed9100
😎 Deploy Preview https://deploy-preview-810--skywalking-website-preview.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 project configuration.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the site’s Content Security Policy in .htaccess to allow hCaptcha resources to load and function correctly under CSP.

Changes:

  • Extends connect-src to include hCaptcha subdomains.
  • Adds explicit style-src and img-src directives permitting hCaptcha assets.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

frame-src 'self' https://www.youtube.com https://player.bilibili.com https://hcaptcha.com https://*.hcaptcha.com; \
script-src 'self' 'unsafe-inline' 'unsafe-eval' https://*.algolianet.com https://*.algolia.net https://*.algolia.io https://api.github.com https://kapa-widget-proxy-la7dkmplpq-uc.a.run.app https://hcaptcha.com https://*.hcaptcha.com; \
connect-src 'self' https://*.algolianet.com https://*.algolia.net https://*.algolia.io https://api.github.com https://kapa-widget-proxy-la7dkmplpq-uc.a.run.app; \
connect-src 'self' https://*.algolianet.com https://*.algolia.net https://*.algolia.io https://api.github.com https://kapa-widget-proxy-la7dkmplpq-uc.a.run.app https://*.hcaptcha.com; \
Copy link

Copilot AI Jan 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In CSP, https://*.hcaptcha.com does not match the apex host https://hcaptcha.com. If hCaptcha makes XHR/fetch calls to https://hcaptcha.com (common for verification endpoints), they will still be blocked. Consider adding https://hcaptcha.com explicitly to connect-src alongside the wildcard.

Suggested change
connect-src 'self' https://*.algolianet.com https://*.algolia.net https://*.algolia.io https://api.github.com https://kapa-widget-proxy-la7dkmplpq-uc.a.run.app https://*.hcaptcha.com; \
connect-src 'self' https://*.algolianet.com https://*.algolia.net https://*.algolia.io https://api.github.com https://kapa-widget-proxy-la7dkmplpq-uc.a.run.app https://hcaptcha.com https://*.hcaptcha.com; \

Copilot uses AI. Check for mistakes.
@wu-sheng wu-sheng merged commit c9cf4d1 into master Jan 25, 2026
10 of 11 checks passed
@wu-sheng wu-sheng deleted the Jtrust-patch-1 branch January 25, 2026 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants