Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug fix messing url parsing for obsidian links on Windows #108

Merged
merged 2 commits into from
Apr 1, 2022

Conversation

knavynde
Copy link
Contributor

Just a small fix for the URI parsing. Searching for "/" was failing on windows, which uses "". I pulled the OS.Path.basename function from the Zotero source, which should be platform neutral. It works fine on Windows, and I assume it works on mac and linux, but that should be tested before accepting the PR. I'd have to set everything on a virtual desktop to do that, so if you have a mac handy, that would be useful.

@argenos argenos changed the base branch from master to develop April 1, 2022 19:21
@argenos argenos changed the title Bug fix messing url parsing for obsidian links Bug fix messing url parsing for obsidian links on Windows Apr 1, 2022
@argenos
Copy link
Owner

argenos commented Apr 1, 2022

This is a slightly cleaner solution for the windows fix in #166

@argenos argenos merged commit 3912c39 into argenos:develop Apr 1, 2022
@rxy0424 rxy0424 mentioned this pull request Apr 13, 2022
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.

None yet

2 participants