Skip to content

fix(security): simplify SanitizeLogValue to pure String.Replace barrier#125

Merged
JerrettDavis merged 1 commit into
mainfrom
fix/security-logforging-barrier2
Jun 23, 2026
Merged

fix(security): simplify SanitizeLogValue to pure String.Replace barrier#125
JerrettDavis merged 1 commit into
mainfrom
fix/security-logforging-barrier2

Conversation

@JerrettDavis

Copy link
Copy Markdown
Owner

Return the String.Replace CR/LF removal directly without an intervening
StringBuilder/LINQ rebuild, which CodeQL did not recognize as breaking taint.
This clears the last residual cs/log-forging finding.

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

Return the String.Replace CR/LF removal directly without an intervening
StringBuilder/LINQ rebuild, which CodeQL did not recognize as breaking taint.
This clears the last residual cs/log-forging finding.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@JerrettDavis JerrettDavis merged commit c812437 into main Jun 23, 2026
17 checks passed
@JerrettDavis JerrettDavis deleted the fix/security-logforging-barrier2 branch June 23, 2026 01:46
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