| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
🦋 Changeset detectedLatest commit: 12c5c3f The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Sorry, something went wrong.
|
@modelcontextprotocol/client
npm i https://pkg.pr.new/@modelcontextprotocol/client@2453
npm i https://pkg.pr.new/@modelcontextprotocol/codemod@2453
npm i https://pkg.pr.new/@modelcontextprotocol/core@2453
npm i https://pkg.pr.new/@modelcontextprotocol/server@2453
npm i https://pkg.pr.new/@modelcontextprotocol/server-legacy@2453
npm i https://pkg.pr.new/@modelcontextprotocol/express@2453
npm i https://pkg.pr.new/@modelcontextprotocol/fastify@2453
npm i https://pkg.pr.new/@modelcontextprotocol/hono@2453
npm i https://pkg.pr.new/@modelcontextprotocol/node@2453 commit: 38dc1a4 |
Sorry, something went wrong.
| // RFC 9110 §5.5: field parsing excludes optional whitespace around a | ||
| // field value. Fetch implementations normally perform this normalization, | ||
| // but transport-neutral callers and some runtimes can expose raw OWS. | ||
| request = { | ||
| ...request, | ||
| ...(request.protocolVersionHeader !== undefined && { | ||
| protocolVersionHeader: stripHttpOws(request.protocolVersionHeader) | ||
| }), | ||
| ...(request.mcpMethodHeader !== undefined && { mcpMethodHeader: stripHttpOws(request.mcpMethodHeader) }), | ||
| ...(request.mcpNameHeader !== undefined && { mcpNameHeader: stripHttpOws(request.mcpNameHeader) }) | ||
| }; |
There was a problem hiding this comment.
nit: seems like something we might want to extract to a normalizeInboundHeaderFields function but seems fine rn
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks for the CodeQL fix, lgtm
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #2452.
What changed
Why
@modelcontextprotocol/conformance@0.2.0-alpha.9's ServerAcceptsWhitespaceHeaderValue check fails against @modelcontextprotocol/server@2.0.0-beta.2 on workerd: the valid padded Mcp-Name is compared byte-for-byte with params.name and rejected as HeaderMismatch.
Verification