Files
hyperframes/docs/packages
Wenbo ZhuandClaude Opus 5.5 fc289b0dfc fix(cli): play and present answer unknown paths with an inert refusal (SECOPS-2642 part 3) (#8160)
* fix(cli): play and present answer unknown paths with an inert refusal (SECOPS-2642 part 3)

An OAuth return that lands on the play or present port was a 404 document on
the same origin as the composition frame, so project script could read its
?code=&state= through a frame, a popup or the authorize redirect. Unknown
paths, missing composition files and any request carrying code or state now
get a fixed text/plain 404 on an opaque origin (CSP sandbox) that cannot be
framed and drops its opener (COOP same-origin).

play's app setup moves into an exported buildPlayApp so tests can serve it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(cli): trim the inert refusal's comments to the package share

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 14:55:42 +00:00
..