René's URL Explorer Experiment


Title: fix(core): Strip inline media from multimodal content before stringification by RulaKhaled · Pull Request #19540 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix(core): Strip inline media from multimodal content before stringification by RulaKhaled · Pull Request #19540 · getsentry/sentry-javascript

X Title: fix(core): Strip inline media from multimodal content before stringification by RulaKhaled · Pull Request #19540 · getsentry/sentry-javascript

Description: Official Sentry SDKs for JavaScript. Contribute to getsentry/sentry-javascript development by creating an account on GitHub.

Open Graph Description: Fixes a bug where base64 image/audio data in LangChain multimodal messages leaked into gen_ai.input.messages span attributes unredacted The root cause was normalizeLangChainMessages calling asStrin...

X Description: Fixes a bug where base64 image/audio data in LangChain multimodal messages leaked into gen_ai.input.messages span attributes unredacted The root cause was normalizeLangChainMessages calling asStrin...

Opengraph URL: https://github.com/getsentry/sentry-javascript/pull/19540

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.4

react-profiling0
react-import-mapreact,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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:2630e141-195c-ac12-5231-adb677f81a31
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB8D6:48A69:E785D:1401E2:6B049059
html-safe-nonce51a021d3a23c73d33b01a9b577568aa3226d1a948037eba1c851ae09581c7843
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOEQ2OjQ4QTY5OkU3ODVEOjE0MDFFMjo2QjA0OTA1OSIsInZpc2l0b3JfaWQiOiI0MzcwMTM4NTE1NDg5NzIyNDU4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac6ba62285c853c43ffba044f5cf5af28a10903748b2a73324fabea9ab3d8f01d1
hovercard-subject-tagpull_request:3331397997
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-javascript/19540/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d850242bd1fdbe90c6cc273270d5695ba55e66b129e90ca7225078f651111a79/getsentry/sentry-javascript/pull/19540
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d850242bd1fdbe90c6cc273270d5695ba55e66b129e90ca7225078f651111a79/getsentry/sentry-javascript/pull/19540
og:image:altFixes a bug where base64 image/audio data in LangChain multimodal messages leaked into gen_ai.input.messages span attributes unredacted The root cause was normalizeLangChainMessages calling asStrin...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameRulaKhaled
hostnamegithub.com
expected-hostnamegithub.com
None9b297275a74a2c9a35898175c9477837c635d4f579277ebff3b2d6ebd012e247
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb51ce57ca6d4565a42856fc1c9897077c794597f
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/19540#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F19540
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F19540
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/pull/19540
Reloadhttps://github.com/getsentry/sentry-javascript/pull/19540
Reloadhttps://github.com/getsentry/sentry-javascript/pull/19540
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues339 (339)https://github.com/getsentry/sentry-javascript/issues
Pull requests53 (53)https://github.com/getsentry/sentry-javascript/pulls
Discussionshttps://github.com/getsentry/sentry-javascript/discussions
Actionshttps://github.com/getsentry/sentry-javascript/actions
Security and quality7 (7)https://github.com/getsentry/sentry-javascript/security
Insightshttps://github.com/getsentry/sentry-javascript/insights
https://github.com/getsentry/sentry-javascript
RulaKhaledhttps://github.com/RulaKhaled
develophttps://github.com/getsentry/sentry-javascript/tree/develop
fix-langchain-scrubbinghttps://github.com/getsentry/sentry-javascript/tree/fix-langchain-scrubbing
Conversationhttps://github.com/getsentry/sentry-javascript/pull/19540
Commits12 (12)https://github.com/getsentry/sentry-javascript/pull/19540/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/19540/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/19540/files
fix(core): Strip inline media from multimodal content before stringificationhttps://github.com/getsentry/sentry-javascript/pull/19540#top
RulaKhaledhttps://github.com/RulaKhaled
develophttps://github.com/getsentry/sentry-javascript/tree/develop
fix-langchain-scrubbinghttps://github.com/getsentry/sentry-javascript/tree/fix-langchain-scrubbing
https://github.com/RulaKhaled
RulaKhaledhttps://github.com/RulaKhaled
Feb 26, 2026https://github.com/getsentry/sentry-javascript/pull/19540#issue-3995997713
#19539https://github.com/getsentry/sentry-javascript/issues/19539
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/19540
RulaKhaledhttps://github.com/RulaKhaled
February 24, 2026 15:37https://github.com/getsentry/sentry-javascript/pull/19540#commits-pushed-fac656c
https://github.com/RulaKhaled
fix(core): Improve message truncation for multimodal content and norm…https://github.com/getsentry/sentry-javascript/pull/19540/commits/fac656cad59a5ea7c1f597a051f13e04fb6fcc28
fac656chttps://github.com/getsentry/sentry-javascript/pull/19540/commits/fac656cad59a5ea7c1f597a051f13e04fb6fcc28
https://github.com/RulaKhaled
take out media stripping to its own filehttps://github.com/getsentry/sentry-javascript/pull/19540/commits/fae419d7eabf980ae253da23d8344093cecb070d
fae419dhttps://github.com/getsentry/sentry-javascript/pull/19540/commits/fae419d7eabf980ae253da23d8344093cecb070d
https://github.com/RulaKhaled
we should fit truncation in 20KBhttps://github.com/getsentry/sentry-javascript/pull/19540/commits/25c9a9332635768c579ea5e0e8c51e2e9b14739b
25c9a93https://github.com/getsentry/sentry-javascript/pull/19540/commits/25c9a9332635768c579ea5e0e8c51e2e9b14739b
https://github.com/RulaKhaled
fix testhttps://github.com/getsentry/sentry-javascript/pull/19540/commits/7511263163c11bccaf39a06c1de47c1e84c37033
7511263https://github.com/getsentry/sentry-javascript/pull/19540/commits/7511263163c11bccaf39a06c1de47c1e84c37033
https://github.com/RulaKhaled
quick refactorhttps://github.com/getsentry/sentry-javascript/pull/19540/commits/598e46a8125f617ba3073c21ff92df8b9c4b2c1e
598e46ahttps://github.com/getsentry/sentry-javascript/pull/19540/commits/598e46a8125f617ba3073c21ff92df8b9c4b2c1e
https://github.com/RulaKhaled
fix(core): Strip inline media from multimodal content before stringif…https://github.com/getsentry/sentry-javascript/pull/19540/commits/9934f5b2fa1e3761991d6b59792aa9fd8785615e
9934f5bhttps://github.com/getsentry/sentry-javascript/pull/19540/commits/9934f5b2fa1e3761991d6b59792aa9fd8785615e
https://github.com/RulaKhaled
refacotrhttps://github.com/getsentry/sentry-javascript/pull/19540/commits/7cf24ab2016109ec3db7e04cd4bc14414a6c2abd
7cf24abhttps://github.com/getsentry/sentry-javascript/pull/19540/commits/7cf24ab2016109ec3db7e04cd4bc14414a6c2abd
https://github.com/RulaKhaled
linterhttps://github.com/getsentry/sentry-javascript/pull/19540/commits/7c6deae5b5452cba7548b8a586df9b976f135e22
7c6deaehttps://github.com/getsentry/sentry-javascript/pull/19540/commits/7c6deae5b5452cba7548b8a586df9b976f135e22
https://github.com/RulaKhaled
Merge branch 'develop' into fix-langchain-scrubbinghttps://github.com/getsentry/sentry-javascript/pull/19540/commits/0e78b198d9535ac2baf43572cd9502af08a96c2d
0e78b19https://github.com/getsentry/sentry-javascript/pull/19540/commits/0e78b198d9535ac2baf43572cd9502af08a96c2d
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Feb 26, 2026https://github.com/getsentry/sentry-javascript/pull/19540#issuecomment-3967178461
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/19540
View base workflow runhttps://github.com/getsentry/sentry-javascript/actions/runs/22449128259
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/19540
https://github.com/RulaKhaled
fix formathttps://github.com/getsentry/sentry-javascript/pull/19540/commits/efae4e8a07b0d2bc5bb62c8d7a07efb83407485f
efae4e8https://github.com/getsentry/sentry-javascript/pull/19540/commits/efae4e8a07b0d2bc5bb62c8d7a07efb83407485f
https://github.com/RulaKhaled
RulaKhaledhttps://github.com/RulaKhaled
February 26, 2026 15:18https://github.com/getsentry/sentry-javascript/pull/19540#event-23107182736
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Feb 26, 2026https://github.com/getsentry/sentry-javascript/pull/19540#issuecomment-3967304965
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/19540
View base workflow runhttps://github.com/getsentry/sentry-javascript/actions/runs/22449128259
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/19540
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Feb 26, 2026 https://github.com/getsentry/sentry-javascript/pull/19540#pullrequestreview-3861725768
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/19540/files/efae4e8a07b0d2bc5bb62c8d7a07efb83407485f
cursorhttps://github.com/apps/cursor
https://github.com/getsentry/sentry-javascript/pull/19540#pullrequestreview-3861725768
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Cursor dashboardhttps://www.cursor.com/dashboard?tab=bugbot
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/19540
packages/core/src/tracing/langchain/utils.tshttps://github.com/getsentry/sentry-javascript/pull/19540/files/efae4e8a07b0d2bc5bb62c8d7a07efb83407485f#diff-a276719cf57aa94659e5a08889960a4d07b7cfaf0aedd326cb3e5d075eb8f2dc
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/19540
packages/core/src/tracing/langchain/utils.tshttps://github.com/getsentry/sentry-javascript/pull/19540/files/efae4e8a07b0d2bc5bb62c8d7a07efb83407485f#diff-a276719cf57aa94659e5a08889960a4d07b7cfaf0aedd326cb3e5d075eb8f2dc
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/19540
RulaKhaledhttps://github.com/RulaKhaled
February 26, 2026 16:38https://github.com/getsentry/sentry-javascript/pull/19540#commits-pushed-4d5760f
https://github.com/RulaKhaled
try/catch the stringified jsonhttps://github.com/getsentry/sentry-javascript/pull/19540/commits/4d5760f1fbdf0978fb10538487671643c73adb3d
4d5760fhttps://github.com/getsentry/sentry-javascript/pull/19540/commits/4d5760f1fbdf0978fb10538487671643c73adb3d
https://github.com/RulaKhaled
try catchhttps://github.com/getsentry/sentry-javascript/pull/19540/commits/b670bcd6a6f63817548e2cdd809fd789aae98de6
b670bcdhttps://github.com/getsentry/sentry-javascript/pull/19540/commits/b670bcd6a6f63817548e2cdd809fd789aae98de6
https://github.com/nicohrubec
nicohrubechttps://github.com/nicohrubec
February 27, 2026 07:57https://github.com/getsentry/sentry-javascript/pull/19540#event-23128561209
https://github.com/nicohrubec
nicohrubechttps://github.com/nicohrubec
Feb 27, 2026 https://github.com/getsentry/sentry-javascript/pull/19540#pullrequestreview-3866797344
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/19540/files/b670bcd6a6f63817548e2cdd809fd789aae98de6
nicohrubechttps://github.com/nicohrubec
https://github.com/getsentry/sentry-javascript/pull/19540#pullrequestreview-3866797344
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/19540
https://github.com/RulaKhaled
RulaKhaledhttps://github.com/RulaKhaled
93e3c30https://github.com/getsentry/sentry-javascript/commit/93e3c30a758c378f2a9ea87591df85356f1a2f9a
Mar 2, 2026https://github.com/getsentry/sentry-javascript/pull/19540#event-23185957416
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/19540
https://github.com/RulaKhaled
RulaKhaledhttps://github.com/RulaKhaled
March 2, 2026 09:05https://github.com/getsentry/sentry-javascript/pull/19540#event-23185958272
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Mar 2, 2026 https://github.com/getsentry/sentry-javascript/pull/19540#ref-issue-3995968353
Fix Langchain multi model messages scrubbing #19539 https://github.com/getsentry/sentry-javascript/issues/19539
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F19540
https://github.com/apps/cursor
cursor[bot] https://github.com/apps/cursor
https://github.com/getsentry/sentry-javascript/pull/19540/files/efae4e8a07b0d2bc5bb62c8d7a07efb83407485f
https://github.com/nicohrubec
nicohrubec https://github.com/nicohrubec
https://github.com/getsentry/sentry-javascript/pull/19540/files/b670bcd6a6f63817548e2cdd809fd789aae98de6
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/19540
Fix Langchain multi model messages scrubbing https://github.com/getsentry/sentry-javascript/issues/19539
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/19540
https://github.com/RulaKhaled
https://github.com/nicohrubec
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.