You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] plannotator-* preference cookies pollute every app running on localhost #2184
Plannotator stores UI preferences in host-only cookies scoped to localhost (no Domain attribute). Browsers scope cookies by hostname, not port — so every one of these cookies is attached to every origin on localhost, including completely unrelated local development projects.
Evidence
Screenshot from Chrome DevTools on one of my own local projects (a dev server on port 55042 — not plannotator):
The entire cookie list for this origin is plannotator-* entries (annotation-*, diff-*, editor-*, filebro*, grid-*, guide-*, …), dozens of them, all domain localhost, path /, SameSite=Lax. None of them belong to this project.
Impact
Every request my local apps make to localhost carries a large Cookie header full of plannotator preferences.
DevTools for any localhost project is cluttered with these entries.
There is no safe way to clean up: clearing cookies by hostname wipes data for all local apps at once, not just plannotator.
Request
Provide a supported way to isolate plannotator's storage from other localhost apps — e.g. serving on a dedicated hostname (such as plannotator.localhost, which browsers resolve to 127.0.0.1 per RFC 6761) or another opt-in mechanism, so its cookies don't leak into unrelated local projects.
Environment
plannotator: v0.28.20 (latest release at the time of writing: v0.28.23 — not verified against it)
Activity
utpalsinghdev commentedon Oct 26, 2026
@backnotprop I’m already working on this and have traced the cause. I’ll share a PR once the fix is ready.
PassionZale commentedon Oct 26, 2026
Thanks @utpalsinghdev for the quick response and for taking this on — really appreciate you tracing the cause and opening PR #2188 so fast!