diff options
| author | Dominic Della Valle <ddvpublic@Gmail.com> | 2026-07-26 07:18:57 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-26 07:18:57 -0400 |
| commit | 4a5062cda69fa6cb59b7dc0c488dfb05accf99de (patch) | |
| tree | 7a7fb63e02454383e0bb13d39d083dcbe8fe3860 /runtime/autoload/python.vim | |
| parent | dec3d8215dfa5d1ffd3a7d1d06559290db3cffcf (diff) | |
| download | rneovim-4a5062cda69fa6cb59b7dc0c488dfb05accf99de.tar.gz rneovim-4a5062cda69fa6cb59b7dc0c488dfb05accf99de.tar.bz2 rneovim-4a5062cda69fa6cb59b7dc0c488dfb05accf99de.zip | |
fix(path): DOS device path check #40976
Problem:
The current check is intended to match DOS device paths starting with
`\\?` or `\\.` but will match any path starting with `?` or `.`,
including relative paths such as `.\`.
This is because the leading slashes are removed before the comparison.
Solution:
Changes the check to include the path's prefix, assuring the path has
the correct amount of separators for a DOS device path.
Diffstat (limited to 'runtime/autoload/python.vim')
0 files changed, 0 insertions, 0 deletions