Skip to content

Conversation

@alxndrsn
Copy link
Contributor

@alxndrsn alxndrsn commented Dec 4, 2025

Users can include images in various bits of markdown around odk-central-frontend. This change blocks non-HTTPS images from being loaded in those markdown snippets.

From https://github.com/getodk/central/pull/1526/files#r2587770849

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

Updated tests per #1526

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

Could have been kept as part of #1526, but separated to make history and intent clearer.

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?

  • could break existing markdown images if served from non-https sources
  • might be inconvenient in future if trying to include non-https images

Both seem low-impact, and low-risk.

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 and others added 2 commits December 4, 2025 07:29
Users can include images in various bits of markdown around odk-central-frontend.  This change blocks non-HTTPS images from being loaded in those markdown snippets.

From https://github.com/getodk/central/pull/1526/files#r2587770849
@alxndrsn alxndrsn marked this pull request as ready for review December 4, 2025 07:34
@alxndrsn alxndrsn requested review from lognaturel and matthew-white and removed request for matthew-white December 4, 2025 09:37
@lognaturel lognaturel merged commit 3846982 into getodk:next Dec 4, 2025
5 checks passed
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