# fix\(desktop\): keep host-only Safari cookies host-only · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/9611ffbeae8461da25e56ae938c69bb478a9d2f5)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 9611ffbeae8461da25e56ae938c69bb478a9d2f5

Requested commit: 9611ffbeae8461da25e56ae938c69bb478a9d2f5

Commit: 9611ffbeae8461da25e56ae938c69bb478a9d2f5

Tree: e606d20daf4a4f219a69d2cc3495040a5f81d304

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
fix(desktop): keep host-only Safari cookies host-only

The Safari reader set `domain` on every cookie, but `ImportedCookie.domain`
is only for domain cookies (leading dot): Electron treats any supplied
`domain` as one and re-adds the dot, widening host-only cookies to every
subdomain and rejecting `__Host-` cookies outright. Route through the shared
`cookieScope` like the Chromium and Firefox readers do, which also owns the
IPv6 bracketing.

Co-Authored-By: Claude Code <noreply@anthropic.com>

```

## Parents

- [35f4dcdd21a047d41ae0e6924452de5d4eb1d680](https://git.cafe/pingdotgg/t3code/commit/35f4dcdd21a047d41ae0e6924452de5d4eb1d680?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/9611ffbeae8461da25e56ae938c69bb478a9d2f5?format=markdown)
