Skip to content

Redact URL query secrets and complete authorization tokens - #175

Open
smnandre wants to merge 1 commit into
playwright-php:mainfrom
smnandre:fix/diagnostic-redaction
Open

smnandre wants to merge 1 commit into
playwright-php:mainfrom
smnandre:fix/diagnostic-redaction

Conversation

@smnandre

Copy link
Copy Markdown
Member

Sensitive query parameters and parts of valid Bearer tokens can remain visible in sanitized exception parameters. R

Redact query values, including repeated and percent-encoded keys, and mask complete Basic/Bearer credentials before generic token patterns.

No public API signatures change.

@codecov

codecov Bot commented Sep 26, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 93.33333% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/Transport/Sanitizer.php 93.33% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

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