Skip to content

Fix redaction when query values contain @#793

Open
sofuture wants to merge 1 commit into
jz/cursor/pr-785-base-844cfrom
jz/cursor/postgres-redact-query-at-844c
Open

Fix redaction when query values contain @#793
sofuture wants to merge 1 commit into
jz/cursor/pr-785-base-844cfrom
jz/cursor/postgres-redact-query-at-844c

Conversation

@sofuture
Copy link
Copy Markdown
Collaborator

@sofuture sofuture commented Apr 29, 2026

Summary

  • Add coverage for PostgreSQL URLs whose query values contain @
  • Keep password redaction from consuming query-string content while still redacting passwords that contain @

Based on #785.

Tests

  • go test . -run TestRedactLogString
  • go test ./... (fails in pkg/driver/sqlite: environment sqlite library reports no such module: fts5)
Open in Web Open in Cursor 

Co-authored-by: Jeff Zellner <hello@jeffzellner.com>
@sofuture
Copy link
Copy Markdown
Collaborator Author

PTAL @Yanhu007

@sofuture sofuture marked this pull request as ready for review April 29, 2026 18:00
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.

2 participants