Skip to content

csp: add exceptions for Google Translate#1128

Merged
alxndrsn merged 5 commits intogetodk:nextfrom
alxndrsn:csp-conenct-translate
Jun 9, 2025
Merged

csp: add exceptions for Google Translate#1128
alxndrsn merged 5 commits intogetodk:nextfrom
alxndrsn:csp-conenct-translate

Conversation

@alxndrsn
Copy link
Contributor

@alxndrsn alxndrsn commented Jun 5, 2025

Closes #1129

What has been done to verify that this works as intended?

Added tests, checked tests pass.

Why is this the best possible solution? Were any other approaches considered?

Ongoing consideration of scrapping CSP or using a much more permissive base, but not directly relevant to this change.

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

It may reduce traffic to /csp-report.

Does this change require updates to documentation? If so, please file an issue here and include the link below.

No.

Before submitting this PR, please make sure you have:

  • branched off and targeted the next branch OR only changed documentation/infrastructure (master is stable and used in production)
  • verified that any code or assets from external sources are properly credited in comments or that everything is internally sourced

@alxndrsn alxndrsn marked this pull request as ready for review June 5, 2025 11:55
@matthew-white matthew-white linked an issue Jun 6, 2025 that may be closed by this pull request
@alxndrsn alxndrsn merged commit 7f45125 into getodk:next Jun 9, 2025
5 checks passed
@alxndrsn alxndrsn deleted the csp-conenct-translate branch June 9, 2025 09:17
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.

CSP: allow google translate for all pages

2 participants