Skip to content

Fix group chat behind proxy, spacing and deletion access - #2093

Merged
asim merged 1 commit into
mainfrom
fix/group-connection-controls
Oct 19, 2026
Merged

asim merged 1 commit into
mainfrom
fix/group-connection-controls

Conversation

@asim

@asim asim commented Oct 19, 2026

Copy link
Copy Markdown
Member

Group WebSockets compared the browser Origin with the internal request Host, rejecting valid connections behind a reverse proxy. Use the shared configured-origin validation while continuing to reject foreign origins.

Restore padding around the group chat toolbar (the old rule only matched header elements), keep composer controls separated, and remove nested padding from expandable cards. Expose owner-only Delete group directly on Members with confirmation, reusing existing deletion authorization and billing safeguards.

Validation: go test ./... -short, go vet ./..., Node group client tests and git diff --check pass. WebSocket regression covers configured public origin versus internal host, message delivery/reconnection through timing middleware, and foreign-origin rejection even with a spoofed forwarded host. Members-page tests cover owner/member deletion control visibility.

Browser visual verification remains unavailable: local Chromium launch is blocked by the environment's socket policy. Live deployment has not been verified.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-19T08:57:12.689726Z 4587fff PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@asim
asim merged commit 86d00b6 into main Oct 19, 2026
2 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