Skip to content

Wrong routing in navigating JSON structure when using breadcrumbs #534

Description

@falleph

When navigating through the JSON configuration structure one gets routed wrong when clicking through it using the {...} menus and breadcrumbs. An example is https://caddyserver.com/docs/json/apps//tls (notice the double slash, leading to empty 'Description' and 'Field List' Sections).

How to reproduce

  1. Go to https://caddyserver.com/docs/json/apps/tls
  2. Click on apps in the breadcrumb navigation JSON Config Structureappstls
  3. Hover the {...} menu and click tls again again
  4. You will end up in https://caddyserver.com/docs/json/apps//tls

Suspected Reason is that the breadcrumbs lead to the destination with a trailing slush, while the {...} menu items add a prefixed slash leading to double slashes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions