René's URL Explorer Experiment


Title: Validate message endpoint in SSE client transport by Kehrlann · Pull Request #945 · modelcontextprotocol/java-sdk · GitHub

Open Graph Title: Validate message endpoint in SSE client transport by Kehrlann · Pull Request #945 · modelcontextprotocol/java-sdk

X Title: Validate message endpoint in SSE client transport by Kehrlann · Pull Request #945 · modelcontextprotocol/java-sdk

Description: Backport #943 It also adds the appropriate changes to WebFluxSseClientTransport

Open Graph Description: Backport #943 It also adds the appropriate changes to WebFluxSseClientTransport

X Description: Backport #943 It also adds the appropriate changes to WebFluxSseClientTransport

Opengraph URL: https://github.com/modelcontextprotocol/java-sdk/pull/945

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:5e594a4a-c0a5-707c-9f6c-0b5f65a26955
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE7F6:2C555C:11414A3:16AC217:6A5BCC4F
html-safe-nonce12e5273181cfa843fec618cf340330c79121fc0fe64a5c6d85b5806da3306ed2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFN0Y2OjJDNTU1QzoxMTQxNEEzOjE2QUMyMTc6NkE1QkNDNEYiLCJ2aXNpdG9yX2lkIjoiMTQ2NTQ2Mjk2NTEwMTM4MjczNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac12352ae0e427b8f4e7669f78a333d030bc52ea4e81052739aa33914a8324132a
hovercard-subject-tagpull_request:3610135993
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/modelcontextprotocol/java-sdk/pull/945/files
twitter:imagehttps://avatars.githubusercontent.com/u/5676779?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/5676779?s=400&v=4
og:image:altBackport #943 It also adds the appropriate changes to WebFluxSseClientTransport
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/modelcontextprotocol/java-sdk git https://github.com/modelcontextprotocol/java-sdk.git
octolytics-dimension-user_id182288589
octolytics-dimension-user_loginmodelcontextprotocol
octolytics-dimension-repository_id919609219
octolytics-dimension-repository_nwomodelcontextprotocol/java-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id919609219
octolytics-dimension-repository_network_root_nwomodelcontextprotocol/java-sdk
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/java-sdk/pull/945/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fjava-sdk%2Fpull%2F945%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fjava-sdk%2Fpull%2F945%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=modelcontextprotocol%2Fjava-sdk
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/945/files
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/945/files
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/945/files
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/945/files
modelcontextprotocol https://github.com/modelcontextprotocol
java-sdkhttps://github.com/modelcontextprotocol/java-sdk
Notifications https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fjava-sdk
Fork 979 https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fjava-sdk
Star 3.6k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fjava-sdk
Code https://github.com/modelcontextprotocol/java-sdk
Issues 133 https://github.com/modelcontextprotocol/java-sdk/issues
Pull requests 147 https://github.com/modelcontextprotocol/java-sdk/pulls
Discussions https://github.com/modelcontextprotocol/java-sdk/discussions
Actions https://github.com/modelcontextprotocol/java-sdk/actions
Projects https://github.com/modelcontextprotocol/java-sdk/projects
Models https://github.com/modelcontextprotocol/java-sdk/models
Security and quality 2 https://github.com/modelcontextprotocol/java-sdk/security
Insights https://github.com/modelcontextprotocol/java-sdk/pulse
Code https://github.com/modelcontextprotocol/java-sdk
Issues https://github.com/modelcontextprotocol/java-sdk/issues
Pull requests https://github.com/modelcontextprotocol/java-sdk/pulls
Discussions https://github.com/modelcontextprotocol/java-sdk/discussions
Actions https://github.com/modelcontextprotocol/java-sdk/actions
Projects https://github.com/modelcontextprotocol/java-sdk/projects
Models https://github.com/modelcontextprotocol/java-sdk/models
Security and quality https://github.com/modelcontextprotocol/java-sdk/security
Insights https://github.com/modelcontextprotocol/java-sdk/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fmodelcontextprotocol%2Fjava-sdk%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmodelcontextprotocol%2Fjava-sdk%2Fissues%2Fnew%2Fchoose
Kehrlannhttps://github.com/Kehrlann
0.18.xhttps://github.com/modelcontextprotocol/java-sdk/tree/0.18.x
dgarnier/0-18-backport-943https://github.com/modelcontextprotocol/java-sdk/tree/dgarnier/0-18-backport-943
Conversation 0 https://github.com/modelcontextprotocol/java-sdk/pull/945
Commits 6 https://github.com/modelcontextprotocol/java-sdk/pull/945/commits
Checks 7 https://github.com/modelcontextprotocol/java-sdk/pull/945/checks
Files changed https://github.com/modelcontextprotocol/java-sdk/pull/945/files
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/945/files
Validate message endpoint in SSE client transport https://github.com/modelcontextprotocol/java-sdk/pull/945/files#top
Show all changes 6 commits https://github.com/modelcontextprotocol/java-sdk/pull/945/files
ac2f0b3 Validate message endpoint in SSE client transport Kehrlann Apr 30, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/945/commits/ac2f0b33e11505ba1ae96aaa525cdd26493bf2a4
646bb21 Validate message endpoint in SSE WebFlux client transport Kehrlann Apr 30, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/945/commits/646bb211629fee7c8878ea0acc24a1867686d3e7
2ae9e13 DefaultSseMessageEndpointValidator allows same-origin message endpoints Kehrlann May 4, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/945/commits/2ae9e13c645aec9962556af3a625fe2f60d1fff3
85275c2 Fix client conformance CI Kehrlann May 4, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/945/commits/85275c270609ff6f9d09e9ce0830d0b32365bc58
39b5a1e Fix assertions in HttpClientSseClientTransportTests Kehrlann May 4, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/945/commits/39b5a1e3309ae70e7cf6632f9aa0df33e183a8e0
f4e23dc Fix assertion in WebFluxSseClientTransportTests Kehrlann May 4, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/945/commits/f4e23dc0debc08a6ef67cc89e599d68d44710e85
Clear filters https://github.com/modelcontextprotocol/java-sdk/pull/945/files
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/945/files
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/945/files
conformance.yml https://github.com/modelcontextprotocol/java-sdk/pull/945/files#diff-e5ed24bc2f5084a1664419e35473c15466f87e7552ef1fad4d13cdde0eaed400
DefaultSseMessageEndpointValidator.java https://github.com/modelcontextprotocol/java-sdk/pull/945/files#diff-b58c698d2eccb681d867ecffd074181046d71d4cec26db69cd90540837ee3a28
HttpClientSseClientTransport.java https://github.com/modelcontextprotocol/java-sdk/pull/945/files#diff-19bdf025f2aa682a6cef320f4efd6c65f2bffee97981dd14336b9dac17c055ab
InvalidSseMessageEndpointException.java https://github.com/modelcontextprotocol/java-sdk/pull/945/files#diff-2fefdf2c54fb2416c66043d24dbc47be4b766e0139f2ebdd01828057d0e9e43a
SseMessageEndpointValidator.java https://github.com/modelcontextprotocol/java-sdk/pull/945/files#diff-dd8ca83fbe9cb6002b9da11ceb45b83029fd5e4391c06632072f01dfb68f7455
DefaultSseMessageEndpointValidatorTests.java https://github.com/modelcontextprotocol/java-sdk/pull/945/files#diff-b7425ce6eb8e1a3021a5bdda9eb9e8a7709aae89be34173b9f2aedfa1be6f715
WebFluxSseClientTransport.java https://github.com/modelcontextprotocol/java-sdk/pull/945/files#diff-227005329a393e71239acd5f606b2f7d337e32cced112f4b3c4e1d22ccf551e3
WebFluxSseClientTransportTests.java https://github.com/modelcontextprotocol/java-sdk/pull/945/files#diff-6d1a587edea828c8d36ad9ea533c7a36dbffbed39b451789f0504267d2bb3648
HttpClientSseClientTransportTests.java https://github.com/modelcontextprotocol/java-sdk/pull/945/files#diff-bc1d169381a2b1954328b7d0841dd61e30fcc1e73538d00084c5a0c3add355a6
.github/workflows/conformance.ymlhttps://github.com/modelcontextprotocol/java-sdk/pull/945/files#diff-e5ed24bc2f5084a1664419e35473c15466f87e7552ef1fad4d13cdde0eaed400
View file https://github.com/modelcontextprotocol/java-sdk/blob/f4e23dc0debc08a6ef67cc89e599d68d44710e85/.github/workflows/conformance.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/java-sdk/pull/945/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/java-sdk/pull/945/files#diff-e5ed24bc2f5084a1664419e35473c15466f87e7552ef1fad4d13cdde0eaed400
...ain/java/io/modelcontextprotocol/client/transport/DefaultSseMessageEndpointValidator.javahttps://github.com/modelcontextprotocol/java-sdk/pull/945/files#diff-b58c698d2eccb681d867ecffd074181046d71d4cec26db69cd90540837ee3a28
View file https://github.com/modelcontextprotocol/java-sdk/blob/f4e23dc0debc08a6ef67cc89e599d68d44710e85/mcp-core/src/main/java/io/modelcontextprotocol/client/transport/DefaultSseMessageEndpointValidator.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/java-sdk/pull/945/{{ revealButtonHref }}
.../src/main/java/io/modelcontextprotocol/client/transport/HttpClientSseClientTransport.javahttps://github.com/modelcontextprotocol/java-sdk/pull/945/files#diff-19bdf025f2aa682a6cef320f4efd6c65f2bffee97981dd14336b9dac17c055ab
View file https://github.com/modelcontextprotocol/java-sdk/blob/f4e23dc0debc08a6ef67cc89e599d68d44710e85/mcp-core/src/main/java/io/modelcontextprotocol/client/transport/HttpClientSseClientTransport.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/java-sdk/pull/945/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/java-sdk/pull/945/files#diff-19bdf025f2aa682a6cef320f4efd6c65f2bffee97981dd14336b9dac17c055ab
https://github.com/modelcontextprotocol/java-sdk/pull/945/files#diff-19bdf025f2aa682a6cef320f4efd6c65f2bffee97981dd14336b9dac17c055ab
https://github.com/modelcontextprotocol/java-sdk/pull/945/files#diff-19bdf025f2aa682a6cef320f4efd6c65f2bffee97981dd14336b9dac17c055ab
https://github.com/modelcontextprotocol/java-sdk/pull/945/files#diff-19bdf025f2aa682a6cef320f4efd6c65f2bffee97981dd14336b9dac17c055ab
https://github.com/modelcontextprotocol/java-sdk/pull/945/files#diff-19bdf025f2aa682a6cef320f4efd6c65f2bffee97981dd14336b9dac17c055ab
https://github.com/modelcontextprotocol/java-sdk/pull/945/files#diff-19bdf025f2aa682a6cef320f4efd6c65f2bffee97981dd14336b9dac17c055ab
https://github.com/modelcontextprotocol/java-sdk/pull/945/files#diff-19bdf025f2aa682a6cef320f4efd6c65f2bffee97981dd14336b9dac17c055ab
https://github.com/modelcontextprotocol/java-sdk/pull/945/files#diff-19bdf025f2aa682a6cef320f4efd6c65f2bffee97981dd14336b9dac17c055ab
https://github.com/modelcontextprotocol/java-sdk/pull/945/files#diff-19bdf025f2aa682a6cef320f4efd6c65f2bffee97981dd14336b9dac17c055ab
https://github.com/modelcontextprotocol/java-sdk/pull/945/files#diff-19bdf025f2aa682a6cef320f4efd6c65f2bffee97981dd14336b9dac17c055ab
https://github.com/modelcontextprotocol/java-sdk/pull/945/files#diff-19bdf025f2aa682a6cef320f4efd6c65f2bffee97981dd14336b9dac17c055ab
https://github.com/modelcontextprotocol/java-sdk/pull/945/files#diff-19bdf025f2aa682a6cef320f4efd6c65f2bffee97981dd14336b9dac17c055ab
...ain/java/io/modelcontextprotocol/client/transport/InvalidSseMessageEndpointException.javahttps://github.com/modelcontextprotocol/java-sdk/pull/945/files#diff-2fefdf2c54fb2416c66043d24dbc47be4b766e0139f2ebdd01828057d0e9e43a
View file https://github.com/modelcontextprotocol/java-sdk/blob/f4e23dc0debc08a6ef67cc89e599d68d44710e85/mcp-core/src/main/java/io/modelcontextprotocol/client/transport/InvalidSseMessageEndpointException.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/java-sdk/pull/945/{{ revealButtonHref }}
...e/src/main/java/io/modelcontextprotocol/client/transport/SseMessageEndpointValidator.javahttps://github.com/modelcontextprotocol/java-sdk/pull/945/files#diff-dd8ca83fbe9cb6002b9da11ceb45b83029fd5e4391c06632072f01dfb68f7455
View file https://github.com/modelcontextprotocol/java-sdk/blob/f4e23dc0debc08a6ef67cc89e599d68d44710e85/mcp-core/src/main/java/io/modelcontextprotocol/client/transport/SseMessageEndpointValidator.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/java-sdk/pull/945/{{ revealButtonHref }}
...ava/io/modelcontextprotocol/client/transport/DefaultSseMessageEndpointValidatorTests.javahttps://github.com/modelcontextprotocol/java-sdk/pull/945/files#diff-b7425ce6eb8e1a3021a5bdda9eb9e8a7709aae89be34173b9f2aedfa1be6f715
View file https://github.com/modelcontextprotocol/java-sdk/blob/f4e23dc0debc08a6ef67cc89e599d68d44710e85/mcp-core/src/test/java/io/modelcontextprotocol/client/transport/DefaultSseMessageEndpointValidatorTests.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/java-sdk/pull/945/{{ revealButtonHref }}
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/945/files
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/945/files
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

Viewport: width=device-width


URLs of crawlers that visited me.