Skip to content

file+noindex, absolute paths and Windows #7065

Open

Description

@phadej

file://C:\foo\repo is not a valid URI.

EDIT:

Prelude Network.URI> parseURI "file+noindex:///?/hello/world/"
Just file+noindex:///?/hello/world/

Prelude System.FilePath.Windows> normalise "//?/hello/world/"
"\\\\?\\hello\\world\\"

seems to work. Have to be more careful in encoding / decoding paths for file+noindex URIs, so maybe then it will work.

Activity

  1. self-assigned this
    on Sep 13, 2020
  2. added 3 commits that reference this issue on Sep 14, 2020
    846fce4
    7f1ba15
    9f55af8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions