Skip to content

bug: Broken links depending on the window history #292

@GeniusTimo

Description

@GeniusTimo

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

I have come across some strange behaviour as I make my way through the documentation. When I open the page using a direct link, some relative links seem to be broken, although they work when I visit a page within the folder first. I wanted to report this behaviour as I'm not familiar enough with this type of problem. Other sites with ./ links also have this problem.

Steps To Reproduce

  1. Open https://sapphirejs.dev/docs/Guide/commands/application-commands/what-are-application-commands
  2. Click on the link "Application Command Registry" in the last sentence of this page
  3. You get redirected to https://sapphirejs.dev/docs/Guide/commands/application-commands/what-are-application-commands/application-command-registry/what-is-it

Expected behavior

You get redirected to https://sapphirejs.dev/docs/Guide/commands/application-commands/application-command-registry/what-is-it

Screenshots

No response

Additional context

Steps to reproduce the same link working properly:

  1. Open https://sapphirejs.dev/docs/Guide/commands/application-commands/application-command-registry/acquiring-an-application-command-registry
  2. Click on the link "What are application commands?" in the sidebar
  3. You get redirected to https://sapphirejs.dev/docs/Guide/commands/application-commands/what-are-application-commands
  4. Click on the link "Application Command Registry" in the last sentence of this page
  5. You get redirected to https://sapphirejs.dev/docs/Guide/commands/application-commands/application-command-registry/what-is-it (expected behavior)

System Info

N.A.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions