telemetry fix
This commit is contained in:
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
|
||||
Reference in new issue
Block a user