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
Transport errors can include a signed URL in the message passed to
error() or die(). Argument redaction does not cover these messages, so
a failed request can still record its password or signature in Trace2.
Have each target redact its formatted error payload. Keep the existing
va_list callback contract, including each target's use of va_copy(), so
the caller can still use the arguments when writing to stderr. Redact
the JSON target's separate format field as well, accounting for doubled
percent signs in literal query parameter names.
Use whitespace, double quotes, and angle brackets to delimit URLs in
error messages. Keep a trailing quote for a single-quoted token, but
treat other punctuation as part of the URL: an apostrophe inside a
signature is not a reliable delimiter. Continue scanning for adjacent
or nested URLs after redacting each match.
Signed-off-by: Daniel Reynaud <dreynaud@openai.com>
Signed-off-by: Taylor Blau <ttaylorr@openai.com>
0 commit comments