influxdata / influxdata/influxdb

`file://` URI resolution doesn't work in pkger when running on Windows

Open
#22,474 0 comments 0 reactions 0 assignees View on GitHub
area/2.x area/templates kind/bug os/windows
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

Windows paths like `C:\foo\bar` must be translated into a form like `file:///C/foo/bar` to be valid URIs. The pkger currently doesn't account for this, so when running on Windows it directly tries (and fails) to open `/C/foo/bar` when given a `file://` URI.

Contributor guide

Open the contributing guide

Research direction

Start by locating pkger's handling of file:// URIs and reproduce the Windows path case described in the issue. The work is done when a path such as C:\foo\bar is translated to file:///C/foo/bar and can be opened successfully on Windows.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.