HomePhorge

(#8268) Require windows drive letters in absolute file paths
45ae5b4a9cedUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#8268) Require windows drive letters in absolute file paths

When testing whether a file path is absolute, the regexp was only
handling POSIX style file paths. This commit requires Windows
style file paths to start with a drive letter. A future commit
will refacter the various places we do path validation to
support both Windows drive letters and UNC paths.

Reviewed-by: Jacob Helwig <jacob@puppetlabs.com>

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU26ee468e8b96: (#8489) Consistently use File::PATH_SEPARATOR
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPU45ae5b4a9ced: (#8268) Require windows drive letters in absolute file paths (authored by Josh Cooper <josh@puppetlabs.com>).Jul 19 2011, 11:03 PM