Skip to content

File protocol link concatenation error #482

Closed
logseq/logseq
#12646

Description

@wf4gh

Search first

  • I searched and no similar issues were found

What Happened?

When clicking this link: [test_file](file:///D:/), got a windows error: "Windows cannot find the file 'C:\D:'. Please make sure the file name is correct and try again."

The application appears to be treating the absolute path D:\ as a relative path and incorrectly prepending it with what seems to be the current working directory (C:), creating the malformed path C:\D:\

Reproduce the Bug

Create this link: [test_file](file:///D:/)
Click the link
See error

Expected Behavior

No response

Files

No response

Browser, Desktop or Mobile Platform Information

No response

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.

  • I'm willing to submit a PR (Thank you!)

Activity

  1. added
    bug
    on May 11, 2026
  2. self-assigned this
    on May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugcan reproduce

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions