Skip to content

Allow non-HTTP(s) URLs for start #14315

Closed
@NotTheDr01ds

Description

Related problem

From this Discord question, start currently rejects any URL that doesn't begin with http:// or https://.

This means that application-registered protocols can't currently be opened.

start obsidian://open?vault=Test
# => Error:   × Cannot find file or url: obsidian://open?vault=Test
# =>    ╭─[entry #52:1:7]
# =>  1 │ start obsidian://open?vault=Test
# =>    ·       ─────────────┬────────────
# =>    ·                    ╰──
# =>    ╰────
# =>   help: Use prefix https:// to disambiguate URLs from files

Describe the solution you'd like

Allow non-HTTP URLs

Describe alternatives you've considered

No response

Additional context and details

No response

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestneeds-triageAn issue that hasn't had any proper look

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions