Obsidian URI hangs when it's supposed to return a value

Steps to reproduce

  • Open the Apple Shortcuts app
  • Create a new empty shortcut
  • Drag the action “Open X-Callback URL”
  • Type obsidian://new?&vault=Obsidian%20Sandbox&file=testnote in the X-Callback URL field of that action
  • Run the shortcut

Expected result

The note is created and the shortcut continues its execution

Actual result

The note is created but Obsidian never returns control to Shortcuts. The shortcut hangs.

Environment

SYSTEM INFO:
Obsidian version: v1.7.7
Installer version: v1.6.7
Operating system: Darwin Kernel Version 24.1.0: Thu Oct 10 21:03:15 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T6000 24.1.0
Login status: logged in
Language: en
Catalyst license: none
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

I’ve used the Shortcuts app as the simplest way I could think of to reproduce the bug, but the same happens with every other app that expects a result from Obsidian after calling a URI (e.g. Drafts, Keyboard Maestro, xcall)
I can confirm that everything worked fine up to Obsidian 1.6.7 (at least, maybe even with later versions, but definitely not with the current one)