path_is_abs returns true for any nonempty character followed by a colon, and recognizes a leading slash but not a leading backslash. This classifies C:relative and 1:relative as absolute while rejecting a full UNC path such as \\server\share\file. Windows drive-relative names must not be confused with a drive root. The function also needs an explicit target policy instead of applying drive syntax indiscriminately to Unix paths.
Source evidence at the head of #520:
Acceptance:
API/reference context: Windows fully qualified and relative paths.
Audit status: identified by static source inspection; the scenarios above have not been executed during this audit. The permalink fixes the reviewed revision; this report does not claim the defect was introduced by #520.
path_is_absreturns true for any nonempty character followed by a colon, and recognizes a leading slash but not a leading backslash. This classifiesC:relativeand1:relativeas absolute while rejecting a full UNC path such as\\server\share\file. Windows drive-relative names must not be confused with a drive root. The function also needs an explicit target policy instead of applying drive syntax indiscriminately to Unix paths.Source evidence at the head of #520:
pub fun path_is_absAcceptance:
API/reference context: Windows fully qualified and relative paths.
Audit status: identified by static source inspection; the scenarios above have not been executed during this audit. The permalink fixes the reviewed revision; this report does not claim the defect was introduced by #520.