Commit fd631d1
committed
fix(tracing_utils): use maxsplit=1 in Baggage header parsing to handle values with '=' characters
Baggage values that contain '=' (e.g. base64-encoded strings) caused
str.split("=") to return more than two parts, raising ValueError which
was silently swallowed by capture_internal_exceptions(), dropping the
sentry baggage item entirely. Fix: item.split("=", 1).
Fixes #64491 parent 2ce26d1 commit fd631d1
2 files changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
719 | 719 | | |
720 | 720 | | |
721 | 721 | | |
722 | | - | |
| 722 | + | |
723 | 723 | | |
724 | 724 | | |
725 | 725 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
0 commit comments