Skip to content

Default FS lookup is broken on Windows when the URL has no extension #2

@Jogai

Description

@Jogai

The fallback file lookup is broken on Windows. When the exact path doesn't exist, it joins paths with path.join (which produces \ separators on Windows), then strips slashes from the basename with a helper that only handles /. So it ends up searching mock\users for files starting with \profile and finds nothing.

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