Skip to content

Fix project path encoding to handle dots and spaces - #5

Merged
Michaelliv merged 1 commit into
Michaelliv:mainfrom
Bogyie:main
Feb 24, 2026
Merged

Michaelliv merged 1 commit into
Michaelliv:mainfrom
Bogyie:main

Conversation

@Bogyie

@Bogyie Bogyie commented Feb 24, 2026

Copy link
Copy Markdown
Contributor

Fix project path encoding to handle dots and spaces

Related Issue: #3

@Michaelliv Michaelliv left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Nice catch! I verified this empirically by running Claude Code from a directory with dots and spaces (/tmp/test.dots.and spaces) and confirmed it encodes the project path as -private-tmp-test-dots-and-spaces — so dots and spaces are indeed replaced with dashes, just like slashes.

Clean change, good deduplication into a helper function, and the doc comment is appreciated. LGTM 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants