Skip to content

Feature/traces fixes - #39

Merged
JabbaKadabra merged 2 commits into
masterfrom
feature/traces_fixes
Apr 28, 2026
Merged

Feature/traces fixes#39
JabbaKadabra merged 2 commits into
masterfrom
feature/traces_fixes

Conversation

@JabbaKadabra

Copy link
Copy Markdown
Collaborator

No description provided.

@JabbaKadabra
JabbaKadabra merged commit 30f63cc into master Apr 28, 2026
1 check passed
@JabbaKadabra
JabbaKadabra deleted the feature/traces_fixes branch April 29, 2026 18:04
JabbaKadabra added a commit that referenced this pull request Jul 27, 2026
CodeQL flagged two `cs/log-forging` sites (alerts #38, #39). The request
line cannot carry a raw newline, but a percent-encoded one survives URL
decoding: `/x%0D%0AINFO:%20admin%20logged%20in` reaches `Request.Path` as
two lines, and a flat-file or console sink renders the second as a log
entry of its own.

Add `ToSingleLogLine()` in Proxytrace.Common.Text and apply it at both
sites — the "response already started" warning in
ExceptionHandlingMiddleware and the missing-Passthrough-scope warning in
OpenAiProxyController.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DusPcXLc8APo1tUWKDHjmW
JabbaKadabra added a commit that referenced this pull request Jul 27, 2026
Sweeps the seven pre-existing `cs/log-forging` alerts (#15#21) with the
`ToSingleLogLine()` helper added for #38/#39: the upstream-failure
warnings in OpenAiProxyController and TraceyChatController, the
Not-implemented sibling in ExceptionHandlingMiddleware, the two
TestSupportController message logs, and both password-reset fallback
warnings in PasswordResetService.

These sites are on master rather than new to this branch, so they were
not blocking the merge — but they are the same defect and are now shipped
code, hence the CHANGELOG entry.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DusPcXLc8APo1tUWKDHjmW
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