[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 0.25.5-639-g8f94f35

test branch puppet-dev at googlegroups.com
Wed Jul 14 10:34:24 UTC 2010


The following commit has been merged in the upstream branch:
commit 58100ed223de98af93f2e1a4e6a3c57e958ef94c
Author: David Schmitt <david at dasz.at>
Date:   Mon May 17 16:35:40 2010 +0200

    Relax path qualification check on FileServing::Fileset

diff --git a/lib/puppet/file_serving/fileset.rb b/lib/puppet/file_serving/fileset.rb
index a66d935..4176516 100644
--- a/lib/puppet/file_serving/fileset.rb
+++ b/lib/puppet/file_serving/fileset.rb
@@ -59,7 +59,7 @@ class Puppet::FileServing::Fileset
     end
 
     def initialize(path, options = {})
-        raise ArgumentError.new("Fileset paths must be fully qualified") unless path =~ /^#{::File::SEPARATOR}/
+        raise ArgumentError.new("Fileset paths must be fully qualified") unless File.expand_path(path) == path
 
         @path = path
 

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list