Skip to content

fix(relay): accept any opener origin instead of hardcoded allowlist#29

Merged
ThHanke merged 2 commits into
mainfrom
hotfix/relay-origin-allowlist
Jun 30, 2026
Merged

fix(relay): accept any opener origin instead of hardcoded allowlist#29
ThHanke merged 2 commits into
mainfrom
hotfix/relay-origin-allowlist

Conversation

@ThHanke

@ThHanke ThHanke commented Jun 30, 2026

Copy link
Copy Markdown
Owner

The relay popup (relay.html) rejected postMessage calls from origins not in TRUSTED_ORIGINS — FhGenie and other unlisted AI platforms silently failed (tool call detected but result never returned). The popup can only be opened by the user-installed bookmarklet, so the opener action itself is the trust anchor. Now isOriginAllowed accepts any concrete origin while still rejecting opaque/null/wildcard origins.

Also show deployment host in bookmarklet badge and sidebar link so users can distinguish localhost from thhanke.github.io/ontosphere.

Thomas Hanke added 2 commits June 30, 2026 13:34
The relay popup (relay.html) rejected postMessage calls from origins not
in TRUSTED_ORIGINS — FhGenie and other unlisted AI platforms silently
failed (tool call detected but result never returned). The popup can only
be opened by the user-installed bookmarklet, so the opener action itself
is the trust anchor. Now isOriginAllowed accepts any concrete origin
while still rejecting opaque/null/wildcard origins.

Also show deployment host in bookmarklet badge and sidebar link so users
can distinguish localhost from thhanke.github.io/ontosphere.
@ThHanke
ThHanke merged commit 08bb4e5 into main Jun 30, 2026
4 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.

1 participant