Skip to content

Pages with : in path cannot be navigated to via search #130

@MaddyUnderStars

Description

@MaddyUnderStars

Context

No response

Bug description

A top level page such as example:page.md cannot be navigated to via search due to example: being treated as a protocol

prevented navigation to “example:page" due to an unknown protocol.

If you move these pages to a subpath, this issue is resolved.

Related links

Reproduction

repro.zip

I performed the following to create this reproduction:

mkdir repro
uv init
uv add --dev zensical

# then, create a `example:page.md` file with whatever content

uv run zensical build
npx http-server site

Steps to reproduce

  1. unzip
  2. uv run zensical build
  3. serve it using your favourite http server. npx http-server site
  4. search for yes. observe this document on a subpath works properly
  5. search for no. observe this document cannot be navigated to

Browser

No response

Before submitting

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue reports a bugresolvedIssue is resolved, yet unreleased if open

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions