Skip to content

fix(web): validate mobile reply parents - #2892

Merged
richiemcilroy merged 2 commits into
CapSoftware:mainfrom
yashranaway:fix/web-api-auth-sweep
Oct 22, 2026
Merged

richiemcilroy merged 2 commits into
CapSoftware:mainfrom
yashranaway:fix/web-api-auth-sweep

Conversation

@yashranaway

@yashranaway yashranaway commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

the mobile comment endpoint took the reply parent id as given. so someone allowed to comment on one video could reply to a comment from a different video, or to an emoji reaction, which linked comments across videos and could notify that other comment's author. nothing from the parent was exposed.

now a reply's parent has to be a text comment on the same video before anything is written, the same check the v1 and agent reply path already does, and a bad parent gets a 404 with no insert or notification. top level comments are unchanged.

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge.

Summary

Mobile replies now require a text parent on the same video.

  • Mobile replies can only point to text comments on the same video.

Reviews (1) · Last reviewed commit: "fix(web): validate mobile reply parents" · Reviewed by Greptile

@vercel

vercel Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
cap-status Skipped Skipped Oct 22, 2026 12:23pm UTC

@vercel
vercel Bot temporarily deployed to Preview – cap-status October 22, 2026 07:46 Inactive
@yashranaway

Copy link
Copy Markdown
Contributor Author

@greptileai review

@vercel
vercel Bot temporarily deployed to Preview – cap-status October 22, 2026 12:23 Inactive
@richiemcilroy
richiemcilroy merged commit 670e75e into CapSoftware:main Oct 22, 2026
29 of 30 checks passed

This branch was previously deployed

1 inactive deployment
Preview – cap-status — 570d9b43 Deployed Oct 22, 2026 by vercel[bot]
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