commit b788700f0ab632d550f3978e9426becddde18ce3
parent 1919ff0ae0afc7bea695e7d7f82ce74b249efc79
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Tue, 27 Oct 2026 12:46:31 -0400
ops door test: live-preclip and live-clip refuse a traversing slug
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/editor/app/api/ops/_door.test.ts b/editor/app/api/ops/_door.test.ts
@@ -112,6 +112,8 @@ test("a traversing slug is refused at the door, on every route that takes one",
["find-clips", { slug: "../../escape", id: "abc123" }],
["import-media", { slug: "../../escape", path: "/tmp/ops-api-never.mp4", id: "abc123" }],
["record-live", { slug: "../../escape", url: "https://rumble.com/v1abcde-x.html" }],
+ ["live-preclip", { slug: "../../escape", id: "abc123", action: "status" }],
+ ["live-clip", { slug: "../../escape", id: "abc123", start: 1, end: 20 }],
["keep-videos", { slug: "../../escape", ids: ["abc123"] }],
["check-windows", { slug: "../../escape", dryRun: true }],
];