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
fix: "tracestate" parsing must allow whitespace around list-members (#1728)
* fix: "tracestate" parsing must allow whitespace around list-members
Per https://w3c.github.io/trace-context/#tracestate-header-field-values
the tracestate header can have whitespace around list-members. E.g.
'vendor1=foo, vendor2=bar ,\t vendor3=baz '
Refs: elastic/apm-agent-rum-js#1334
* I think this is what the pre-commit test failure in CI is complaining about.
* Remove superfluous question mark
* Use the same regex for tracestate reconstruction
* Strip optional whitespace around tracestate
* Revert my removal of the `*?` in Trent's original regex
* CHANGELOG
---------
Co-authored-by: Colton Myers <[email protected]>
0 commit comments