Files
neovim/test/unit
sigmaSd a4e4609d62 fix(path): path_is_url returns false for "foo:/" #19797
Problem:
path_to_url() returns false for single-slash URIs ("foo:/" vs "foo://").
This is not compliant with the URI spec. https://url.spec.whatwg.org/#url-representation
LSP in particular allows single-slash URIs.

Solution:
Relax path_to_url() to accept single-slash URIs. This is not fully
compliant (only ":" is required by the spec), but it is hopefully good
enough without causing false-positives in typical text files.

ref https://url.spec.whatwg.org/#windows-drive-letter
ref https://github.com/neovim/neovim/pull/19773
ref https://github.com/neovim/neovim/pull/19773#issuecomment-1214763769
2022-08-23 23:38:06 -07:00
..
2022-01-04 11:07:40 -07:00
2022-08-13 21:31:00 +08:00
2022-05-17 22:26:25 +02:00
2022-01-04 11:07:40 -07:00
2022-06-28 04:02:29 -07:00
2017-04-01 12:25:10 +03:00