Skip to content

Relative links sometimes fail to resolve. #754

@humberto-ortiz

Description

@humberto-ortiz

I have an unusual problem with some relative links in lagrange 1.19.4 on linux (aarch64, Debian 13)

In a directory called a, if I have an index.gmi that links to b.gmi lagrange sometimes fails to resolve the relative link as a/b.gmi

If I browse to gemini://example.com/a without a trailing slash, I get the correct index, but the link to b.gmi will resolve to /b.gmi, not a/b.gmi. Other gemini clients do resolve the uri correctly, so I don't think its a server issue. If I browse gemini://example.com/a/ with the trailing slash it works.

Here's an example: gemini://azul.archipielago.uno/a vs gemini://azul.archipielago.uno/a/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions