Title: Handle Multiple incoming baggage headers · Issue #5672 · getsentry/sentry-javascript · GitHub
Open Graph Title: Handle Multiple incoming baggage headers · Issue #5672 · getsentry/sentry-javascript
X Title: Handle Multiple incoming baggage headers · Issue #5672 · getsentry/sentry-javascript
Description: Problem Statement Right now, we don't handle multiple baggage headers in one request when handling incoming requests. This could happen though. For instance, the Python SDK does not merge Sentry and 3rd party baggage headers but appends ...
Open Graph Description: Problem Statement Right now, we don't handle multiple baggage headers in one request when handling incoming requests. This could happen though. For instance, the Python SDK does not merge Sentry an...
X Description: Problem Statement Right now, we don't handle multiple baggage headers in one request when handling incoming requests. This could happen though. For instance, the Python SDK does not merge Sentr...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/5672
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Handle Multiple incoming baggage headers","articleBody":"### Problem Statement\r\n\r\nRight now, we don't handle multiple baggage headers in one request when handling incoming requests. This could happen though. For instance, the Python SDK does not merge Sentry and 3rd party `baggage` headers but appends a new `baggage` header to outgoing requests, leading to potentially two `baggage` headers in the outgoing requests. \r\n\r\nAt the moment, we either bail out completely and don't parse any `baggage` content or we might also just ignore the second header (not sure about this; probably depends on the framework)\r\n\r\n### Solution Brainstorm\r\n\r\n* Let's identify where this could happen. \r\n * My guess is Node and Express; maybe Serverless?\r\n * I don't think we have to care about `BrowserTracing` (multiple baggage \u003cmeta> tags are unlikely, IMO)\r\n* Fix it. First idea: Just append the strings before calling the `parseBaggageString` function. Might be too simple but it could be a way.\r\n* Happens in Remix: https://github.com/getsentry/sentry-javascript/pull/5600#discussion_r960494735","author":{"url":"https://github.com/Lms24","@type":"Person","name":"Lms24"},"datePublished":"2022-09-01T10:15:05Z","url":"https://github.com/getsentry/sentry-javascript/issues/5672"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0d693389-d50b-195a-3813-a475e8efd295 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 94F4:380C91:125D2F:194B1F:6B0446A3 |
| html-safe-nonce | 15ad954cb7fcf8dd081376df09f789a3e3eb548601272f47d4a256b6da70fcd1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NEY0OjM4MEM5MToxMjVEMkY6MTk0QjFGOjZCMDQ0NkEzIiwidmlzaXRvcl9pZCI6IjYyOTg2MTc2OTIyNTc3OTc3OTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7c8a0015212eade9881f3913d17273e09669ae9492bb286366e253ad6bba79e3 |
| hovercard-subject-tag | issue:1358598298 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/5672/issue_layout |
| twitter:image | https://opengraph.githubassets.com/db282df3303fcabb4492cfcb2dddae05eda38b69eadd86a3d010c61f8cb4dbde/getsentry/sentry-javascript/issues/5672 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/db282df3303fcabb4492cfcb2dddae05eda38b69eadd86a3d010c61f8cb4dbde/getsentry/sentry-javascript/issues/5672 |
| og:image:alt | Problem Statement Right now, we don't handle multiple baggage headers in one request when handling incoming requests. This could happen though. For instance, the Python SDK does not merge Sentry an... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Lms24 |
| hostname | github.com |
| expected-hostname | github.com |
| None | d4495c3631faba668036f176d1f5946901c5172efd73a6edb984029e7d4f8e46 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9ac4337fb7c6a5846cdfdb1a04f154d3c33ebc77 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width