Skip to content

[Bug]: obsidian://open is handled as a search query #293

@rc2dev

Description

@rc2dev

Bug Description

First of all, thanks for Surfing!

I have a obsidian URL on TickTick, in the format obsidian://open?vault=VAULT_NAME&file=NOTE_PATH. Clicking this URL opens Obsidian with the note I chose. This works perfectly fine from Chromium.

However, if I browse to TickTick inside a Surfing tab, clicking the same link opens Google on a new tab.

Typing that URL on the address bar also redirects me to Google (or the default search engine).

Relevant Screenshot

No response

To Reproduce

  1. Copy the Obsidian URL for one of your notes.
  2. Go to your web app of choice (in my case TickTick), and paste the URL.
  3. On your web browser, and click the link you just pasted. This should open Obsidian with the note.
  4. Now go to Obsidian and open a Surfing tab to the same web app.
  5. Click the same URL as you did on the browser.

Expected results:
The note should open, identically to step 2.

Actual results:
A new Surfing tab is open, querying the search engine for the URL.
In my case, the page I get is https://www.google.com/search?q=obsidian://open?vault=VAULT&file=FILE_PATH.

Obsidian Version

1.7.7

web-browser-only

  • Did you install only one web browser plugin?

Checklist

  • I updated to the latest version of the plugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions