HomePhorge

Treat Windows absolute paths as absolute paths
37f87b709598Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Treat Windows absolute paths as absolute paths

Previously, we only considered files that matched the *nix concept of
'absolute' as being absolute paths. Since absolute paths on Windows
look more like URLs with this world-view, we need to specifically look
for the Windows absolute paths, and treat them as such.

We will still treat *nix absolute paths as absolute on Windows, even
though they are actually relative to the "current" drive. We do not
currently limit which "style" of absolute path is allowed based on
what the agent is.

Reviewed-by: Nick Lewis <nick@puppetlabs.com>
(cherry picked from commit 568d25ee10effd5e87c57cdc8c24280eabf9cd93)

Details

Event Timeline

Jacob Helwig <jacob@puppetlabs.com> committed rPU37f87b709598: Treat Windows absolute paths as absolute paths (authored by Jacob Helwig <jacob@puppetlabs.com>).Aug 19 2011, 10:52 PM