HomePhorge

(#11930) Use Puppet::Util.absolute_path? to validate paths
aa4896586a14Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#11930) Use Puppet::Util.absolute_path? to validate paths

Previously, there were still some places where we were using a
POSIX-specific regex to validate fully-qualified paths, which fails
with Windows paths.

This commit just changes them to use Puppet::Util.absolute_path?,
which handles both POSIX and Windows paths, based on the platform
we're currently running on.

Details

Provenance
Josh Cooper <josh@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU1ffbeb1b8ff3: (#11930) Use FileUtils.mkdir_p to recursively create directories
Branches
Unknown
Tags
Unknown

Event Timeline

Josh Cooper <josh@puppetlabs.com> committed rPUaa4896586a14: (#11930) Use Puppet::Util.absolute_path? to validate paths (authored by Josh Cooper <josh@puppetlabs.com>).Jan 21 2012, 5:53 AM