Skip to content

fix: preserve empty string cookie values#186

Open
raashish1601 wants to merge 3 commits into
pillarjs:masterfrom
raashish1601:fix/empty-string-cookie-value
Open

fix: preserve empty string cookie values#186
raashish1601 wants to merge 3 commits into
pillarjs:masterfrom
raashish1601:fix/empty-string-cookie-value

Conversation

@raashish1601

Copy link
Copy Markdown

Summary\n\nPreserve explicit empty-string values in cookies instead of treating them as deletion.\n\nThis updates Cookie value normalization to only treat null/undefined as deletion sentinel and adds regression tests in both Cookie constructor and set() path for empty string values.\n\n## Testing\n\n- npm test\n- npm run lint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant