Skip to content

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

@karljs

Description

@karljs

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 karljs@company.com. When I run eca, it seems to break something in the path handling that causes files to be written to: /home/karljs@company.com/?/.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/karl.smeltzer@canonical.com/dotfiles/emacs.d/var/eca/eca server

Workspaces: /home/karl.smeltzer@canonical.com

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions