-
Notifications
You must be signed in to change notification settings - Fork 83
fix: override empty cookie header in MCP header forwarding hook #1390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🦋 Changeset detectedLatest commit: a4369c5 The changes in this PR will be included in the next version bump. This PR includes changesets to release 9 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 |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Claude finished @sarah-inkeep's task —— View job Code Review CompleteTodo List:
Review SummaryThis PR fixes a specific issue where empty cookie headers set by the SDK were not being properly overridden by the Technical AnalysisRoot Cause Identified: Fix Analysis: // Before: Only checked existence
if (!newHeaders.has(key)) {
newHeaders.set(key, value);
}
// After: Checks value and special-cases empty cookies
const existingValue = newHeaders.get(key);
if (!existingValue || (key === 'cookie' && existingValue === '')) {
newHeaders.set(key, value);
}Engineering Assessment✅ Strengths:
|
No description provided.