Skip to content

Wiki links with spaces are incorrectly flagged as broken links #1788

@jrfnl

Description

@jrfnl

Given ...

... the following markdown wiki links (in a typical _Sidebar.md file for a GitHub wiki):

[[Usage]]  
[[Advanced Usage]]

And given that the following files exist:

Usage.md
Advanced-Usage.md

I'd expect...

... these links NOT to be flagged by Lychee.

Observed behaviour

Instead, these type of links are reported as broken if they contain spaces, while the links work perfectly fine in reality.

### Errors in wiki/_Sidebar.md

Error: R] <file:///path/to/wiki/Advanced%20Usage> | Cannot find file

Additional information

I believe this issue was introduced via #1650 / PR #1679

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