Skip to content

fix(server): redact data page URLs in preview reports and snapshots - #723

Merged
thevarsek merged 1 commit into
mainfrom
agent-5/t22302
Nov 27, 2026
Merged

thevarsek merged 1 commit into
mainfrom
agent-5/t22302

Conversation

@thevarsek

@thevarsek thevarsek commented Nov 27, 2026 •

Copy link
Copy Markdown

Desktop browser tabs on data pages could expose page contents through URLs in load reports, preview status, tab lists, and snapshots. Reuse the existing media-type-only URL redaction at each output boundary and before storing status reports, including failed-navigation events. Snapshot visible text still includes page content.

Validation: all 80 tests in Manager.test.ts, ServerBrowser.test.ts, and ServerBrowserPage.test.ts passed. New regressions failed before the fix and cover desktop/server reports, long URL parameters, status/tab URLs, and a real Chromium snapshot. The Chromium regression returns snapshot.url = data:text/html,… and visibleText = PAYLOAD for a data page containing <p>PAYLOAD</p>. No fresh integrated desktop run was performed.

Formatting and GraphQL checks passed. vp run check:changed could not complete cleanly because this filtered workspace lacks broader lint/typecheck/knip dependencies, including @oxlint/plugins, Expo, Astro, and typescript-legacy. The required bench-check covers the installed package and server preview suites.

Refs pingdotgg#22156.

Model and harness: GPT-6 / Codex.

@thevarsek
thevarsek enabled auto-merge November 27, 2026 11:23
@thevarsek
thevarsek added this pull request to the merge queue Nov 27, 2026
Merged via the queue into main with commit 8479046 Nov 27, 2026
1 check passed
@thevarsek
thevarsek deleted the agent-5/t22302 branch November 27, 2026 12:07
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