Repository navigation
fix(server): redact data page URLs in preview reports and snapshots - #723
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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, andServerBrowserPage.test.tspassed. 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 returnssnapshot.url = data:text/html,…andvisibleText = PAYLOADfor a data page containing<p>PAYLOAD</p>. No fresh integrated desktop run was performed.Formatting and GraphQL checks passed.
vp run check:changedcould not complete cleanly because this filtered workspace lacks broader lint/typecheck/knip dependencies, including@oxlint/plugins, Expo, Astro, andtypescript-legacy. The requiredbench-checkcovers the installed package and server preview suites.Refs pingdotgg#22156.
Model and harness: GPT-6 / Codex.