Url::from_file_path fails on cygwin
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
Research direction
Start at Url::from_file_path and the path_to_url_segments_windows path, then determine how Cygwin paths such as /cygdrive/c/... should be handled and whether conversion belongs in this library or its caller. Done means the responsibility and expected behavior for Cygwin paths are decided and the relevant behavior is verified.
Written by the indexing model from the issue text.
Description
I am not sure if this is the right place to report this, but since Url is the library which returns the error, I figured I'd start here. Feel free to redirect me to a better place and close this if I am utterly mistaken.
When trying to use languageclient-neovim on Cygwin I get errors originating from languageclient trying to convert a file path to a URL: path_to_url_segments_windows errors out on anything that is neither a drive letter or UNC path, so it fails when given a Cygwin path like /cygdrive/c/.... I am not sure if this is something, the method should be able to handle or if it should be the caller's responsibility to do a conversion beforehand, so I'm opening this just in case.
- Dominant language
- Rust
- Stars
- 1.6k
- Forks
- 406
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from servo/rust-url
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100