flamenco/pkg/crosspath
Sybren A. Stüvel dae5b1a571 Fix #104237: fix issue with drive-only paths on Windows
Fix an issue where a shared storage path on Linux, that maps via two-way
variables to a drive root on Windows, caused problems with the path
translation system.

Windows paths that consist only of a drive letter (`F:`) cannot just be
concatenated to a relative path, as that will result in `F:path\to\file`,
which is still a relative path of sorts. This is now handled correctly,
and should result in `F:\path\to\file`.

This fixes #104237.
2023-07-31 15:28:07 +02:00
..
crosspath_test.go Fix #104237: fix issue with drive-only paths on Windows 2023-07-31 15:28:07 +02:00
crosspath.go Fix #104237: fix issue with drive-only paths on Windows 2023-07-31 15:28:07 +02:00