Skip to content

Add hCaptcha CSP requirements#5230

Open
mintlify[bot] wants to merge 1 commit intomainfrom
mintlify/add-hcaptcha-csp-1775701604
Open

Add hCaptcha CSP requirements#5230
mintlify[bot] wants to merge 1 commit intomainfrom
mintlify/add-hcaptcha-csp-1775701604

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify bot commented Apr 9, 2026

Summary

  • Added hcaptcha.com and *.hcaptcha.com to the CSP domain allowlist with required directives: script-src, frame-src, style-src, connect-src
  • Updated the example CSP configuration to include hCaptcha domains
  • Applied same changes to localized versions (es, fr, zh)

Based on hCaptcha CSP documentation.


Note

Low Risk
Low risk documentation-only change that expands the recommended CSP allowlist and example header values to support hCaptcha; no runtime code or security logic changes.

Overview
Adds hcaptcha.com and *.hcaptcha.com to the CSP domain allowlist (marked Optional) and updates the example Content-Security-Policy header to include them under script-src, style-src, connect-src, and frame-src.

Mirrors the same documentation updates across localized csp-configuration.mdx pages (es, fr, zh).

Reviewed by Cursor Bugbot for commit eae47e7. Bugbot is set up for automated code reviews on this repo. Configure here.

@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify bot commented Apr 9, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mintlify 🟢 Ready View Preview Apr 9, 2026, 2:32 AM

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.

0 participants