Skip to content

fix: Allow dots in vault IDs for GitHub-style directory names#400

Merged
rjroy merged 1 commit intomainfrom
fix/working-with-github-vault
Jan 24, 2026
Merged

fix: Allow dots in vault IDs for GitHub-style directory names#400
rjroy merged 1 commit intomainfrom
fix/working-with-github-vault

Conversation

@rjroy
Copy link
Copy Markdown
Owner

@rjroy rjroy commented Jan 24, 2026

Summary

  • Vault ID validation regex now allows dots (e.g., rjroy.github.io)
  • Dots are only allowed after the first character to prevent hidden directories
  • Added tests for vault IDs with dots and vault IDs starting with dots

Test plan

  • Backend tests pass with new test cases
  • Manual test: Verify vault with dots in name is accessible via REST API

🤖 Generated with Claude Code

The vault ID validation regex rejected dots, preventing vaults with
directory names like "rjroy.github.io" from being accessed via REST API.

Updated the regex to allow dots after the first character while still
preventing hidden directories (starting with dot).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@rjroy rjroy merged commit 4d78959 into main Jan 24, 2026
2 checks passed
@rjroy rjroy deleted the fix/working-with-github-vault branch January 24, 2026 21:06
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.

1 participant