Skip to content

server: avoid leaking query params in INFO logs#116

Merged
Mic92 merged 1 commit intomainfrom
tests
Dec 4, 2025
Merged

server: avoid leaking query params in INFO logs#116
Mic92 merged 1 commit intomainfrom
tests

Conversation

@Mic92
Copy link
Copy Markdown
Owner

@Mic92 Mic92 commented Dec 4, 2025

Log only r.URL.Path instead of the full r.URL to prevent potential exposure of sensitive query parameters (e.g., tokens, pre-signed URL credentials) in INFO-level logs.

DEBUG-level logging of full URLs/headers remains unchanged as that level is acceptable for exposing secrets during development.

Log only r.URL.Path instead of the full r.URL to prevent
potential exposure of sensitive query parameters (e.g., tokens,
pre-signed URL credentials) in INFO-level logs.

DEBUG-level logging of full URLs/headers remains unchanged as
that level is acceptable for exposing secrets during development.
@Mic92 Mic92 merged commit b083bfe into main Dec 4, 2025
4 checks passed
@Mic92 Mic92 deleted the tests branch December 4, 2025 09:33
Mic92 added a commit that referenced this pull request Mar 10, 2026
server: avoid leaking query params in INFO logs
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