You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(observability): redact url at the _emit_event chokepoint
Move URL redaction from per-emit-site _observed_url() into _emit_event
itself, so the single emission boundary sanitizes the `url` attribute for
both the log record and the OTel span event. A future emit site can no
longer reintroduce the leak by passing a raw url, and the four middleware
modules revert to their original `str(request.url)` (net-unchanged vs main).
Adds direct _emit_event redaction tests for both channels.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments