telemetry fix

This commit is contained in:
Brahim Hadriche committed 2026-10-03 21:11:16 -04:00
1 parent 55bdf2855b
commit 6e964fa2e5
4 files changed
+78 -40

No files matched your search

@@ -44,6 +44,15 @@ namespace Tests
m.assertEqual(Sentry.Redact(42), 42)
end function
@it("leaves an already-masked Authorization header alone inside a serialized envelope line")
function alreadyRedactedInEnvelopeLine()
line = FormatJson({
extra: { "request.txt": "curl -H 'Authorization: <REDACTED>'" + Chr(10) + " -H 'X-Other: 1'" }
level: "error"
})
m.assertEqual(Sentry.Redact(line), line)
end function
end class
end namespace