Skip to content

fix: sanitize Matrix user_id for Windows-safe store file names#3510

Merged
Re-bin merged 1 commit into
HKUDS:mainfrom
JiajunBernoulli:fix-matrix-windows-colon
Apr 29, 2026
Merged

fix: sanitize Matrix user_id for Windows-safe store file names#3510
Re-bin merged 1 commit into
HKUDS:mainfrom
JiajunBernoulli:fix-matrix-windows-colon

Conversation

@JiajunBernoulli
Copy link
Copy Markdown
Contributor

- Replace ':' with '_' in store_name to avoid WinError 123
- Pass sanitized store_name via AsyncClientConfig
- Fixes issue HKUDS#3506 where Matrix channel fails on Windows due to
  colon in user_id causing invalid file paths in matrix-nio's DefaultStore
Copy link
Copy Markdown
Collaborator

@Re-bin Re-bin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

@Re-bin Re-bin merged commit 95715f5 into HKUDS:main Apr 29, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants