Skip to content

Fix obsidian:// URI space encoding#73

Merged
ldraney merged 1 commit intomainfrom
issue-72-fix-obsidian-uri-encoding
Jan 28, 2026
Merged

Fix obsidian:// URI space encoding#73
ldraney merged 1 commit intomainfrom
issue-72-fix-obsidian-uri-encoding

Conversation

@ldraney
Copy link
Owner

@ldraney ldraney commented Jan 28, 2026

Summary

  • urllib.parse.urlencode defaults to + for spaces, which Obsidian's URI handler doesn't recognize
  • Changed to use quote_via=urllib.parse.quote so spaces encode as %20
  • Fixes "Vault not found" errors for vault/note names containing spaces

Test plan

  • Tested open_in_obsidian with vault "I Am That I Am" — opens correctly
  • Verified URI now uses %20 instead of +

Closes #72

🤖 Generated with Claude Code

urlencode defaults to + for spaces, which Obsidian's URI handler
doesn't recognize. Use quote_via=urllib.parse.quote for %20 encoding.

Closes #72

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@ldraney ldraney merged commit 43b7928 into main Jan 28, 2026
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.

QA: Set up local MCP config for pre-release testing

1 participant