Skip to content

feat(c/driver,go/driver): don't put URI in error messages - #5003

Merged
lidavidm merged 2 commits into
apache:mainfrom
lidavidm:uri-errors
Nov 12, 2026
Merged

lidavidm merged 2 commits into
apache:mainfrom
lidavidm:uri-errors

Conversation

@lidavidm

Copy link
Copy Markdown
Member

CWE-209: don't put potentially sensitive information in error messages/logs. In this case, returning an invalid URI, while user-friendly, may cause credentials to be leaked into logs.

Assisted-by: GPT-6.1 Sol

[CWE-209][1]: don't put potentially sensitive information in
error messages/logs. In this case, returning an invalid URI, while
user-friendly, may cause credentials to be leaked into logs.

[1]: https://cwe.mitre.org/data/definitions/209.html

Assisted-by: GPT-6.1 Sol
@lidavidm
lidavidm marked this pull request as ready for review November 10, 2026 08:02
@lidavidm
lidavidm merged commit 51e7768 into apache:main Nov 12, 2026
136 of 137 checks passed
@lidavidm
lidavidm deleted the uri-errors branch November 12, 2026 00:12
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.

3 participants