HomePhorge

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

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>
(cherry picked from commit 45ae5b4a9ced26dfcd3e324391f9a26cb02bf93d)

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
Jacob Helwig <jacob@puppetlabs.com>Committed on Aug 19 2011, 10:48 PM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUfe81decc5336: (#8489) Consistently use File::PATH_SEPARATOR
Branches
Unknown
Tags
Unknown

Event Timeline

Jacob Helwig <jacob@puppetlabs.com> committed rPUbfeb33734358: (#8268) Require windows drive letters in absolute file paths (authored by Josh Cooper <josh@puppetlabs.com>).Aug 19 2011, 10:48 PM