René's URL Explorer Experiment


Title: fix: accept header accessor function in ServerTransportSecurityValidator by neerajbhatt · Pull Request #982 · modelcontextprotocol/java-sdk · GitHub

Open Graph Title: fix: accept header accessor function in ServerTransportSecurityValidator by neerajbhatt · Pull Request #982 · modelcontextprotocol/java-sdk

X Title: fix: accept header accessor function in ServerTransportSecurityValidator by neerajbhatt · Pull Request #982 · modelcontextprotocol/java-sdk

Description: Summary Introduce a HeaderAccessor interface with getHeader(String) and getHeaderNames() methods, replacing the raw Function> parameter in ServerTransportSecurityValidator.validateHeaders(), as proposed in #870 and per reviewer feedback Servlet transports now pass an HttpServletHeaderAccessor wrapping the request directly, leveraging the servlet's native case-insensitive header lookup instead of extracting all headers into a Map upfront Deprecated validateHeaders(Map) is preserved as a default method that bridges to the new validateHeaders(HeaderAccessor), ensuring backward compatibility for existing custom implementations Remove HttpServletRequestUtils utility class (no longer needed) Changes HeaderAccessor — new public interface with getHeader(String) and getHeaderNames() HttpServletHeaderAccessor — internal implementation wrapping HttpServletRequest ServerTransportSecurityValidator — new validateHeaders(HeaderAccessor) method; deprecated validateHeaders(Map) default bridges to it; both defaults cross-delegate so existing impls work either way DefaultServerTransportSecurityValidator — overrides validateHeaders(HeaderAccessor), queries Origin and Host via accessor directly 3 servlet transports — pass new HttpServletHeaderAccessor(request) instead of extractHeaders(request) Unit tests — updated helpers to return HeaderAccessor; added accessorDefaultBridgesToMapOverride test for the reverse bridge direction Test plan All 49 DefaultServerTransportSecurityValidatorTests pass CI pipeline passes Closes #870

Open Graph Description: Summary Introduce a HeaderAccessor interface with getHeader(String) and getHeaderNames() methods, replacing the raw Function<String, List<String>> parameter in ServerTransportSecurityV...

X Description: Summary Introduce a HeaderAccessor interface with getHeader(String) and getHeaderNames() methods, replacing the raw Function&lt;String, List&lt;String&gt;&gt; parameter in ServerTr...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:0448afb7-a73e-0c56-980d-78ecf03a9e22
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD21E:38DB1F:75E746:9A5BB8:6A5C0AAD
html-safe-nonce16e258ea14881194e17db7d4ae69328314fec1d546a919abafcd2bcea2f77202
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjFFOjM4REIxRjo3NUU3NDY6OUE1QkI4OjZBNUMwQUFEIiwidmlzaXRvcl9pZCI6IjE5NDQ4MTcwNzUyMzI3MDUxOTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac50b9e8576ed9ea44a0ab4d5993e499e7655de5964fd383bf9b5b897416cba1e0
hovercard-subject-tagpull_request:3737121612
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/982/files
twitter:imagehttps://avatars.githubusercontent.com/u/216473?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/216473?s=400&v=4
og:image:altSummary Introduce a HeaderAccessor interface with getHeader(String) and getHeaderNames() methods, replacing the raw Function<String, List<String>> parameter in ServerTransportSecurityV...
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/982/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fjava-sdk%2Fpull%2F982%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%2F982%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/982/files
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/982/files
Reloadhttps://github.com/modelcontextprotocol/java-sdk/pull/982/files
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/982/files
modelcontextprotocol https://github.com/modelcontextprotocol
java-sdkhttps://github.com/modelcontextprotocol/java-sdk
Notifications https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fjava-sdk
Fork 977 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 134 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
neerajbhatthttps://github.com/neerajbhatt
modelcontextprotocol:mainhttps://github.com/modelcontextprotocol/java-sdk/tree/main
neerajbhatt:fix/870-security-validator-header-accessorhttps://github.com/neerajbhatt/java-sdk/tree/fix/870-security-validator-header-accessor
Conversation 7 https://github.com/modelcontextprotocol/java-sdk/pull/982
Commits 3 https://github.com/modelcontextprotocol/java-sdk/pull/982/commits
Checks 0 https://github.com/modelcontextprotocol/java-sdk/pull/982/checks
Files changed https://github.com/modelcontextprotocol/java-sdk/pull/982/files
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/982/files
fix: accept header accessor function in ServerTransportSecurityValidator https://github.com/modelcontextprotocol/java-sdk/pull/982/files#top
Show all changes 3 commits https://github.com/modelcontextprotocol/java-sdk/pull/982/files
590c6c3 fix: accept header accessor function in ServerTransportSecurityValidator neerajbhatt May 24, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/982/commits/590c6c352695bc16ca5e1209fd97be433f12be7e
83c796c refactor: add deprecation path for validateHeaders API neerajbhatt May 26, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/982/commits/83c796c9eff26cb9412fea6c22d477217339b9ff
cee7a22 refactor: introduce HeaderAccessor interface for validateHeaders API neerajbhatt Jun 6, 2026 https://github.com/modelcontextprotocol/java-sdk/pull/982/commits/cee7a22f11a26256aada022aa3bca8bba315b1a3
Clear filters https://github.com/modelcontextprotocol/java-sdk/pull/982/files
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/982/files
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/982/files
DefaultServerTransportSecurityValidator.java https://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-949902d5e1f39a69453bb3289c698b69397a12bde828f4e5f937c9aba3aac680
HeaderAccessor.java https://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-e815ec4a12b71670f0e8259f8a5ec354e2067893af5b3683ca8dc8770f808c05
HttpServletHeaderAccessor.java https://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-c6a8f606ba6ef3d3e68401bfd72123d6b4800db5bd23529955434f525cdb8125
HttpServletRequestUtils.java https://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-302c9a3da5a6ceb6f069ed569c33f3892aaa408c4131bc29108b96fab026e8fb
HttpServletSseServerTransportProvider.java https://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-ae35f765e9e107335b2f2b215152924e1451ac00b6f80355013b7d6376ca337e
HttpServletStatelessServerTransport.java https://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-8030f54f27965c63d9b3d2bed170b341e3962ac64e76365b65651db540fd1fdf
HttpServletStreamableServerTransportProvider.java https://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-412456de564a90c70920887a33ecdabccee9280519e32c8ae55815539f566ebc
ServerTransportSecurityValidator.java https://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-154ba4a07d5aa52981d8f87af4cd4e0fdcd918e5fc49143afe3633e253397bc4
DefaultServerTransportSecurityValidatorTests.java https://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-63de0ae5fd44067303a5807fa60771e11d1f6d8487d5627ec3303b66b957267b
...ava/io/modelcontextprotocol/server/transport/DefaultServerTransportSecurityValidator.javahttps://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-949902d5e1f39a69453bb3289c698b69397a12bde828f4e5f937c9aba3aac680
View file https://github.com/modelcontextprotocol/java-sdk/blob/cee7a22f11a26256aada022aa3bca8bba315b1a3/mcp-core/src/main/java/io/modelcontextprotocol/server/transport/DefaultServerTransportSecurityValidator.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/java-sdk/pull/982/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-949902d5e1f39a69453bb3289c698b69397a12bde828f4e5f937c9aba3aac680
https://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-949902d5e1f39a69453bb3289c698b69397a12bde828f4e5f937c9aba3aac680
https://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-949902d5e1f39a69453bb3289c698b69397a12bde828f4e5f937c9aba3aac680
https://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-949902d5e1f39a69453bb3289c698b69397a12bde828f4e5f937c9aba3aac680
mcp-core/src/main/java/io/modelcontextprotocol/server/transport/HeaderAccessor.javahttps://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-e815ec4a12b71670f0e8259f8a5ec354e2067893af5b3683ca8dc8770f808c05
View file https://github.com/modelcontextprotocol/java-sdk/blob/cee7a22f11a26256aada022aa3bca8bba315b1a3/mcp-core/src/main/java/io/modelcontextprotocol/server/transport/HeaderAccessor.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/java-sdk/pull/982/{{ revealButtonHref }}
...ore/src/main/java/io/modelcontextprotocol/server/transport/HttpServletHeaderAccessor.javahttps://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-c6a8f606ba6ef3d3e68401bfd72123d6b4800db5bd23529955434f525cdb8125
View file https://github.com/modelcontextprotocol/java-sdk/blob/cee7a22f11a26256aada022aa3bca8bba315b1a3/mcp-core/src/main/java/io/modelcontextprotocol/server/transport/HttpServletHeaderAccessor.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/java-sdk/pull/982/{{ revealButtonHref }}
mcp-core/src/main/java/io/modelcontextprotocol/server/transport/HttpServletRequestUtils.javahttps://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-302c9a3da5a6ceb6f069ed569c33f3892aaa408c4131bc29108b96fab026e8fb
View file https://github.com/modelcontextprotocol/java-sdk/blob/accba74c8ffe74a9ae68892670714863e66f77b2/mcp-core/src/main/java/io/modelcontextprotocol/server/transport/HttpServletRequestUtils.java
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/982/files
.../java/io/modelcontextprotocol/server/transport/HttpServletSseServerTransportProvider.javahttps://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-ae35f765e9e107335b2f2b215152924e1451ac00b6f80355013b7d6376ca337e
View file https://github.com/modelcontextprotocol/java-sdk/blob/cee7a22f11a26256aada022aa3bca8bba315b1a3/mcp-core/src/main/java/io/modelcontextprotocol/server/transport/HttpServletSseServerTransportProvider.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/java-sdk/pull/982/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-ae35f765e9e107335b2f2b215152924e1451ac00b6f80355013b7d6376ca337e
https://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-ae35f765e9e107335b2f2b215152924e1451ac00b6f80355013b7d6376ca337e
https://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-ae35f765e9e107335b2f2b215152924e1451ac00b6f80355013b7d6376ca337e
https://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-ae35f765e9e107335b2f2b215152924e1451ac00b6f80355013b7d6376ca337e
...in/java/io/modelcontextprotocol/server/transport/HttpServletStatelessServerTransport.javahttps://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-8030f54f27965c63d9b3d2bed170b341e3962ac64e76365b65651db540fd1fdf
View file https://github.com/modelcontextprotocol/java-sdk/blob/cee7a22f11a26256aada022aa3bca8bba315b1a3/mcp-core/src/main/java/io/modelcontextprotocol/server/transport/HttpServletStatelessServerTransport.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/java-sdk/pull/982/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-8030f54f27965c63d9b3d2bed170b341e3962ac64e76365b65651db540fd1fdf
https://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-8030f54f27965c63d9b3d2bed170b341e3962ac64e76365b65651db540fd1fdf
https://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-8030f54f27965c63d9b3d2bed170b341e3962ac64e76365b65651db540fd1fdf
https://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-8030f54f27965c63d9b3d2bed170b341e3962ac64e76365b65651db540fd1fdf
...o/modelcontextprotocol/server/transport/HttpServletStreamableServerTransportProvider.javahttps://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-412456de564a90c70920887a33ecdabccee9280519e32c8ae55815539f566ebc
View file https://github.com/modelcontextprotocol/java-sdk/blob/cee7a22f11a26256aada022aa3bca8bba315b1a3/mcp-core/src/main/java/io/modelcontextprotocol/server/transport/HttpServletStreamableServerTransportProvider.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/java-sdk/pull/982/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-412456de564a90c70920887a33ecdabccee9280519e32c8ae55815539f566ebc
https://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-412456de564a90c70920887a33ecdabccee9280519e32c8ae55815539f566ebc
https://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-412456de564a90c70920887a33ecdabccee9280519e32c8ae55815539f566ebc
https://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-412456de564a90c70920887a33ecdabccee9280519e32c8ae55815539f566ebc
https://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-412456de564a90c70920887a33ecdabccee9280519e32c8ae55815539f566ebc
https://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-412456de564a90c70920887a33ecdabccee9280519e32c8ae55815539f566ebc
https://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-412456de564a90c70920887a33ecdabccee9280519e32c8ae55815539f566ebc
https://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-412456de564a90c70920887a33ecdabccee9280519e32c8ae55815539f566ebc
.../main/java/io/modelcontextprotocol/server/transport/ServerTransportSecurityValidator.javahttps://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-154ba4a07d5aa52981d8f87af4cd4e0fdcd918e5fc49143afe3633e253397bc4
View file https://github.com/modelcontextprotocol/java-sdk/blob/cee7a22f11a26256aada022aa3bca8bba315b1a3/mcp-core/src/main/java/io/modelcontextprotocol/server/transport/ServerTransportSecurityValidator.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/modelcontextprotocol/java-sdk/pull/982/{{ revealButtonHref }}
https://github.com/modelcontextprotocol/java-sdk/pull/982/files#diff-154ba4a07d5aa52981d8f87af4cd4e0fdcd918e5fc49143afe3633e253397bc4
Please reload this pagehttps://github.com/modelcontextprotocol/java-sdk/pull/982/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.