Add generic hCaptcha CSP support and tests (ref: ChatGPT conversation https://chatgpt.com/share/6929f2ba-cedc-800f-9c4c-2049810cea94)

This commit is contained in:
2025-11-28 20:06:58 +01:00
parent 2132356f02
commit c2a181edd4
7 changed files with 69 additions and 27 deletions

View File

@@ -6,6 +6,7 @@ features:
oidc: true
central_database: true
logout: true
recaptcha: true # Required for leads formulars
server:
csp:
flags:
@@ -16,7 +17,7 @@ server:
unsafe-eval: true
whitelist:
connect-src:
- "{{ WEBSOCKET_PROTOCOL }}://espocrm.{{ PRIMARY_DOMAIN }}"
- "{{ WEBSOCKET_PROTOCOL }}://espo.crm.{{ PRIMARY_DOMAIN }}"
- "data:"
frame-src:
- https://s.espocrm.com/