Links with custom schemas such as the following can no longer be opened using command+click.
[Open](<myapp:///Volumes/STORAGE/sample.zip>)
Expected result
Opens the file in the specified app.
Actual result
I get a “cannot open location” error.
Environment
SYSTEM INFO:
Obsidian version: v1.6.3
Installer version: v1.4.13
Operating system: Darwin Kernel Version 22.5.0: Thu Jun 8 22:29:35 PDT 2023; root:xnu-8796.121.3~8/RELEASE_ARM64_T6020 22.5.0
Login status: not logged in
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
Additional information
Versions prior to 1.5 will work.
If I click from the popup preview it works.
Clicking on a link from the Dataview plugin also works.
All standard markdown links must be url encoded (internal and external). This was always a requirement.
Non url-encoded markdown links are outside the spec.
According to CommonMark1, you can use links with spaces as long as the URL is wrapped in angle brackets e.g. [Link caption](<https://duckduckgo.com/?q=test this!&t=ffab>)
I think I suffer this too, for me problem started with obs. 1.6.3. I’m pasting my report from elsewere:
I have lots of links of the form [text](<....>)
that were working up to now but then with the rolling out of 1.6.3 they are all broken. They contained spaces but they worked, now it seems that I have to url-encode all of them for them to continue working?
I tested with links to markdown file targets which seem ok, but in my case that maybe is not average use (i’m using custom protocol handlers), I’m seeing for certain that there has been a breaking change.
Example link [document](<lib:/dir/My Doc.pdf>)
where lib is the custom protocol.
former behavior: custom protocol handler invoked.
1.6.3 behaviour: obsidian says “cannot open location …”
Url-encoding the link target then it works again [document](<lib:/dir/My%20Doc.pdf>)
conclusion: I think links with angle brackets didn’t need url-encoding before, and in 1.6.3 that unexpectedly changed, and now old non-url-encoded links in angle brackets became broken.