Username with at (@) symbol seems to break path handling
To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.
Please avoid AI slops, be concise, and focus on what matters for this issue.
Describe the bug
On my company machine, I have a username which is my email address, namely something like [email protected]. When I run eca, it seems to break something in the path handling that causes files to be written to: /home/[email protected]/?/.cache/eca/db.transit.json with a literal question mark character as the directory name.
I've seen buggy behavior that I assume is related to this, which causes my login to not persist, for example.
To Reproduce
Steps to reproduce the behavior:
- Have a username structured like an email address
- Use eca
- See the creation of a
?directory in$HOME.
Expected behavior
Cache files are placed in $HOME/.cache/eca
Doctor
ECA version: 0.138.1
Server cmd: /home/[email protected]/dotfiles/emacs.d/var/eca/eca server
Workspaces: /home/[email protected]
Default model: github-copilot/gpt-5.2 (Subscription (oauth), expires 2026-06-04 12:31)
Logged providers:
github-copilot: Subscription (oauth), expires 2026-06-04 12:31
Relevant env vars:
XDG_ACTIVATION_TOKEN=gno**********349
DEBUGINFOD_URLS=https://debuginfod.ubuntu.com
Credential files: None found
will fix this for next release, thanks!