eca icon indicating copy to clipboard operation
eca copied to clipboard

Username with at (@) symbol seems to break path handling

Open karljs opened this issue 6 months ago • 1 comments

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:

  1. Have a username structured like an email address
  2. Use eca
  3. 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

karljs avatar Jun 04 '26 19:06 karljs

will fix this for next release, thanks!

ericdallo avatar Jun 08 '26 17:06 ericdallo