Skip to content

refactor(banners): drop the CTA host allowlist - #4924

Merged
MontaGhanmy merged 1 commit into
masterfrom
ref/banner-drop-cta-hosts
Sep 16, 2026
Merged

MontaGhanmy merged 1 commit into
masterfrom
ref/banner-drop-cta-hosts

Conversation

@MontaGhanmy

Copy link
Copy Markdown
Contributor

Banner commands are already authenticated by broker credentials and bindings, so the per-context banner.cta_hosts list is removed along with its check. Commands are now accepted or skipped on their category alone.

CTA URLs are still validated: absolute https, at most 2048 bytes.

docs/banners.md and cozy.example.yaml are updated accordingly.

Banner commands are already authenticated by broker credentials and
bindings, so the per-context cta_hosts list added configuration
without adding meaningful protection. Commands are now accepted or
skipped on their category alone. CTA URLs must still be absolute
https URLs of at most 2048 bytes.
@MontaGhanmy MontaGhanmy self-assigned this Sep 15, 2026
@MontaGhanmy
MontaGhanmy merged commit ae8fc7b into master Sep 16, 2026
4 checks passed
@MontaGhanmy
MontaGhanmy deleted the ref/banner-drop-cta-hosts branch September 16, 2026 08:08
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.

3 participants