grantila / grantila/fetch-h2

Handle cross-domain cookies

Open
#13 4 comments 0 reactions 0 assignees View on GitHub
bug good first issue
Dominant language
TypeScript
Stars
336
Forks
15
PR merge metrics
No merged PRs in 30d

Description

When a server tries to set a cookie with an invalid domain, `tough-cookie` throws. `fetch-h2` should handle this.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing fetch-h2's cookie handling and how tough-cookie validates cookie domains. Reproduce a response that sets a cookie for an invalid domain, then verify that the client handles it without throwing while preserving normal cookie behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.